Skip to content

Commit

Permalink
Take down SPMI
Browse files Browse the repository at this point in the history
  • Loading branch information
SingleAccretion committed Jul 2, 2022
1 parent 319febe commit bdbaf25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18321,8 +18321,11 @@ FieldSeq::FieldSeq(CORINFO_FIELD_HANDLE fieldHnd, ssize_t offset, FieldKind fiel
assert((handleValue & FIELD_KIND_MASK) == 0);
m_fieldHandleAndKind = handleValue | static_cast<uintptr_t>(fieldKind);

// TODO-PhysicalVN: assert that "offset" is correct.
assert(JitTls::GetCompiler()->eeIsFieldStatic(fieldHnd) == IsStaticField());
if (fieldKind == FieldKind::Instance)
{
assert(static_cast<ssize_t>(JitTls::GetCompiler()->info.compCompHnd->getFieldOffset(fieldHnd)) == offset);
}
}

#ifdef FEATURE_SIMD
Expand Down

0 comments on commit bdbaf25

Please sign in to comment.