Skip to content

Commit

Permalink
support frame type 5
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyAyersMS committed Jun 22, 2022
1 parent 1b8006f commit cdb3054
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/coreclr/jit/codegenarm64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1454,6 +1454,10 @@ void CodeGen::genFuncletProlog(BasicBlock* block)

if (compiler->opts.IsOSR())
{
// With OSR we may see large values for fiSpDelta1.
// We repurpose genAllocLclFram to do the necessary probing.
bool scratchRegIsZero = false;
genAllocLclFrame(-genFuncletInfo.fiSpDelta1, REG_SCRATCH, &scratchRegIsZero, maskArgRegsLiveIn);
genStackPointerAdjustment(genFuncletInfo.fiSpDelta1, REG_SCRATCH, nullptr, /* reportUnwindData */ true);
}
else
Expand Down

0 comments on commit cdb3054

Please sign in to comment.