Skip to content

Commit

Permalink
Fix compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Aug 2, 2023
1 parent 8424e2b commit 45d71f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/coreclr/vm/methodtable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4236,7 +4236,6 @@ OBJECTREF MethodTable::AllocateStaticBox(MethodTable* pFieldMT, BOOL fPinned, bo
{
// In case if we don't plan to collect this handle we may try to allocate it on FOH
_ASSERT(!pFieldMT->ContainsPointers());
_ASSERT(pHandle == nullptr);
FrozenObjectHeapManager* foh = SystemDomain::GetFrozenObjectHeapManager();
obj = ObjectToOBJECTREF(foh->TryAllocateObject(pFieldMT, pFieldMT->GetBaseSize()));
// obj can be null in case if struct is huge (>64kb)
Expand Down

0 comments on commit 45d71f2

Please sign in to comment.