Skip to content

Commit 543d2ae

Browse files
committed
Fixup x86
1 parent 47ef415 commit 543d2ae

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/coreclr/vm/i386/jitinterfacex86.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,6 @@ void InitJITHelpers1()
661661
static const LPCWSTR pHelperNames[ETW_NUM_JIT_HELPERS] = {
662662
W("@NewObject"),
663663
W("@NewObjectAlign8"),
664-
W("@Box"),
665664
W("@NewArray1Object"),
666665
W("@NewArray1ValueType"),
667666
W("@NewArray1ObjectAlign8"),
@@ -692,11 +691,11 @@ void InitJITHelpers1()
692691
SetJitHelperFunction(CORINFO_HELP_NEWSFAST, pMethodAddresses[0]);
693692
pMethodAddresses[1] = JIT_TrialAlloc::GenAllocSFast((JIT_TrialAlloc::Flags)(flags|JIT_TrialAlloc::ALIGN8 | JIT_TrialAlloc::ALIGN8OBJ));
694693
SetJitHelperFunction(CORINFO_HELP_NEWSFAST_ALIGN8, pMethodAddresses[1]);
695-
pMethodAddresses[3] = JIT_TrialAlloc::GenAllocArray((JIT_TrialAlloc::Flags)(flags|JIT_TrialAlloc::OBJ_ARRAY));
694+
pMethodAddresses[2] = JIT_TrialAlloc::GenAllocArray((JIT_TrialAlloc::Flags)(flags|JIT_TrialAlloc::OBJ_ARRAY));
696695
SetJitHelperFunction(CORINFO_HELP_NEWARR_1_OBJ, pMethodAddresses[3]);
697-
pMethodAddresses[4] = JIT_TrialAlloc::GenAllocArray(flags);
696+
pMethodAddresses[3] = JIT_TrialAlloc::GenAllocArray(flags);
698697
SetJitHelperFunction(CORINFO_HELP_NEWARR_1_VC, pMethodAddresses[4]);
699-
pMethodAddresses[5] = JIT_TrialAlloc::GenAllocArray((JIT_TrialAlloc::Flags)(flags|JIT_TrialAlloc::ALIGN8));
698+
pMethodAddresses[4] = JIT_TrialAlloc::GenAllocArray((JIT_TrialAlloc::Flags)(flags|JIT_TrialAlloc::ALIGN8));
700699
SetJitHelperFunction(CORINFO_HELP_NEWARR_1_ALIGN8, pMethodAddresses[5]);
701700

702701
// If allocation logging is on, then we divert calls to FastAllocateString to an Ecall method, not this

0 commit comments

Comments
 (0)