Skip to content
Prev Previous commit
Next Next commit
Update methodtable.cpp
  • Loading branch information
EgorBo authored Dec 4, 2022
commit 134a1987dd62aa55156395f9f077c6d9c461c79e
2 changes: 1 addition & 1 deletion src/coreclr/vm/methodtable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3547,7 +3547,7 @@ void MethodTable::AllocateRegularStaticBox(FieldDesc* pField, BYTE* fieldAddress
canBeFrozen = false;
}
#endif
OBJECTREF obj = AllocateStaticBox(pFieldMT, hasFixedAddr, NULL, canBeFrozen);
OBJECTREF obj = AllocateStaticBox(pFieldMT, hasFixedAddr, NULL, false);
SetObjectReference((OBJECTREF*)boxedStaticHandle, obj);
}

Expand Down