Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit fda1a8d

Browse files
committed
Extract genInterruptible setting as a separate region
1 parent 19b1ce5 commit fda1a8d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/jit/morph.cpp

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16204,11 +16204,6 @@ void Compiler::fgSetOptions()
1620416204
if (info.compXcptnsCount > 0)
1620516205
{
1620616206
codeGen->setFramePointerRequiredEH(true);
16207-
#ifdef UNIX_X86_ABI
16208-
assert(!codeGen->isGCTypeFixed());
16209-
// Enforce fully interruptible codegen for funclet unwinding
16210-
genInterruptible = true;
16211-
#endif // UNIX_X86_ABI
1621216207
}
1621316208

1621416209
#else // !_TARGET_X86_
@@ -16220,6 +16215,15 @@ void Compiler::fgSetOptions()
1622016215

1622116216
#endif // _TARGET_X86_
1622216217

16218+
#ifdef UNIX_X86_ABI
16219+
if (info.compXcptnsCount > 0)
16220+
{
16221+
assert(!codeGen->isGCTypeFixed());
16222+
// Enforce fully interruptible codegen for funclet unwinding
16223+
genInterruptible = true;
16224+
}
16225+
#endif // UNIX_X86_ABI
16226+
1622316227
fgCheckArgCnt();
1622416228

1622516229
if (info.compCallUnmanaged)

0 commit comments

Comments
 (0)