mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 10:18:21 +09:00
Delete FEATURE_READYTORUN_COMPILER ifdef (#104727)
#103361 resurrected this long-deleted ifdef (crossgen1-specific code).
This commit is contained in:
parent
27e9b9db7a
commit
c09ec6552f
1 changed files with 2 additions and 13 deletions
|
@ -1904,22 +1904,11 @@ CEEInfo::getHeapClassSize(
|
|||
TypeHandle VMClsHnd(clsHnd);
|
||||
MethodTable* pMT = VMClsHnd.GetMethodTable();
|
||||
_ASSERTE(pMT);
|
||||
_ASSERTE(!pMT->IsValueType());
|
||||
_ASSERTE(!pMT->HasComponentSize());
|
||||
|
||||
#ifdef FEATURE_READYTORUN_COMPILER
|
||||
_ASSERTE(!IsReadyToRunCompilation() || pMT->IsInheritanceChainLayoutFixedInCurrentVersionBubble());
|
||||
#endif
|
||||
|
||||
// Add OBJECT_SIZE to account for method table pointer.
|
||||
//
|
||||
if (pMT->IsValueType())
|
||||
{
|
||||
result = VMClsHnd.GetSize() + OBJECT_SIZE;
|
||||
}
|
||||
else
|
||||
{
|
||||
result = pMT->GetNumInstanceFieldBytes() + OBJECT_SIZE;
|
||||
}
|
||||
result = pMT->GetNumInstanceFieldBytes() + OBJECT_SIZE;
|
||||
|
||||
EE_TO_JIT_TRANSITION_LEAF();
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue