@@ -3188,7 +3188,7 @@ GenTree* Compiler::impInitializeArrayIntrinsic(CORINFO_SIG_INFO* sig)
3188
3188
GenTree* arrayLocalNode = impStackTop(1).val;
3189
3189
3190
3190
//
3191
- // Verify that the field token is known and valid. Note that It 's also
3191
+ // Verify that the field token is known and valid. Note that it 's also
3192
3192
// possible for the token to come from reflection, in which case we cannot do
3193
3193
// the optimization and must therefore revert to calling the helper. You can
3194
3194
// see an example of this in bvt\DynIL\initarray2.exe (in Main).
@@ -8108,7 +8108,7 @@ void Compiler::impImportAndPushBox(CORINFO_RESOLVED_TOKEN* pResolvedToken)
8108
8108
}
8109
8109
8110
8110
//------------------------------------------------------------------------
8111
- // impImportNewObjArray: Build and import `new` of multi-dimmensional array
8111
+ // impImportNewObjArray: Build and import `new` of multi-dimensional array
8112
8112
//
8113
8113
// Arguments:
8114
8114
// pResolvedToken - The CORINFO_RESOLVED_TOKEN that has been initialized
@@ -8123,7 +8123,7 @@ void Compiler::impImportAndPushBox(CORINFO_RESOLVED_TOKEN* pResolvedToken)
8123
8123
// Notes:
8124
8124
// Multi-dimensional array constructors are imported as calls to a JIT
8125
8125
// helper, not as regular calls.
8126
-
8126
+ //
8127
8127
void Compiler::impImportNewObjArray(CORINFO_RESOLVED_TOKEN* pResolvedToken, CORINFO_CALL_INFO* pCallInfo)
8128
8128
{
8129
8129
GenTree* classHandle = impParentClassTokenToHandle(pResolvedToken);
@@ -8160,7 +8160,7 @@ void Compiler::impImportNewObjArray(CORINFO_RESOLVED_TOKEN* pResolvedToken, CORI
8160
8160
// The arguments of the CORINFO_HELP_NEW_MDARR helper are:
8161
8161
// - Array class handle
8162
8162
// - Number of dimension arguments
8163
- // - Pointer to block of int32 dimensions - address of lvaNewObjArrayArgs temp.
8163
+ // - Pointer to block of int32 dimensions: address of lvaNewObjArrayArgs temp.
8164
8164
//
8165
8165
8166
8166
node = gtNewLclvNode(lvaNewObjArrayArgs, TYP_BLK);
@@ -13695,15 +13695,15 @@ void Compiler::impImportBlockCode(BasicBlock* block)
13695
13695
{
13696
13696
lclTyp = JITtype2varType(cit);
13697
13697
}
13698
- goto ARR_LD_POST_VERIFY ;
13698
+ goto ARR_LD ;
13699
13699
}
13700
13700
13701
13701
// Similarly, if its a readonly access, we can do a simple address-of
13702
13702
// without doing a runtime type-check
13703
13703
if (prefixFlags & PREFIX_READONLY)
13704
13704
{
13705
13705
lclTyp = TYP_REF;
13706
- goto ARR_LD_POST_VERIFY ;
13706
+ goto ARR_LD ;
13707
13707
}
13708
13708
13709
13709
// Otherwise we need the full helper function with run-time type check
@@ -13747,7 +13747,7 @@ void Compiler::impImportBlockCode(BasicBlock* block)
13747
13747
tiRetVal = verMakeTypeInfo(ldelemClsHnd); // precise type always needed for struct
13748
13748
tiRetVal.NormaliseForStack();
13749
13749
}
13750
- goto ARR_LD_POST_VERIFY ;
13750
+ goto ARR_LD ;
13751
13751
13752
13752
case CEE_LDELEM_I1:
13753
13753
lclTyp = TYP_BYTE;
@@ -13784,7 +13784,6 @@ void Compiler::impImportBlockCode(BasicBlock* block)
13784
13784
goto ARR_LD;
13785
13785
13786
13786
ARR_LD:
13787
- ARR_LD_POST_VERIFY:
13788
13787
13789
13788
op2 = impPopStack().val; // index
13790
13789
op1 = impPopStack().val; // array
@@ -15345,14 +15344,14 @@ void Compiler::impImportBlockCode(BasicBlock* block)
15345
15344
// Insert the security callout before any actual code is generated
15346
15345
impHandleAccessAllowed(callInfo.accessAllowed, &callInfo.callsiteCalloutHelper);
15347
15346
15348
- // There are three different cases for new
15349
- // Object size is variable (depends on arguments)
15347
+ // There are three different cases for new.
15348
+ // Object size is variable (depends on arguments).
15350
15349
// 1) Object is an array (arrays treated specially by the EE)
15351
15350
// 2) Object is some other variable sized object (e.g. String)
15352
15351
// 3) Class Size can be determined beforehand (normal case)
15353
- // In the first case, we need to call a NEWOBJ helper (multinewarray)
15354
- // in the second case we call the constructor with a '0' this pointer
15355
- // In the third case we alloc the memory, then call the constuctor
15352
+ // In the first case, we need to call a NEWOBJ helper (multinewarray).
15353
+ // In the second case we call the constructor with a '0' this pointer.
15354
+ // In the third case we alloc the memory, then call the constuctor.
15356
15355
15357
15356
clsFlags = callInfo.classFlags;
15358
15357
if (clsFlags & CORINFO_FLG_ARRAY)
0 commit comments