Fixed typo in jitinterface.cpp (dotnet/coreclr#4889)
authorValery <m08pvv@ya.ru>
Tue, 10 May 2016 12:57:47 +0000 (15:57 +0300)
committerJan Kotas <jkotas@microsoft.com>
Tue, 10 May 2016 12:57:47 +0000 (05:57 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/d8c283a1187b22438da781b44a9d76a9b4fa2493

src/coreclr/src/vm/jitinterface.cpp

index bad7e37..2a5de95 100644 (file)
@@ -2682,7 +2682,7 @@ void CEEInfo::embedGenericHandle(
         }
 
         // IsSharedByGenericInstantiations would not work here. The runtime lookup is required
-        // even for standalone generic variables that show up as __Cannon here.
+        // even for standalone generic variables that show up as __Canon here.
         fRuntimeLookup = th.IsCanonicalSubtype();
     }
 
@@ -3271,7 +3271,7 @@ NoSpecialCase:
                 sigBuilder.AppendElementType(ELEMENT_TYPE_SZARRAY);
 
             // Note that we can come here with pResolvedToken->pTypeSpec == NULL for invalid IL that 
-            // directly references __Cannon
+            // directly references __Canon
             if (pResolvedToken->pTypeSpec != NULL)
             {
                 SigPointer sigptr(pResolvedToken->pTypeSpec, pResolvedToken->cbTypeSpec);