mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Set the "LastFrameInst" field when streaming a .seh_setframe directive. This
is needed for an upcoming patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -383,6 +383,7 @@ void MCStreamer::EmitWin64EHSetFrame(unsigned Register, unsigned Offset) {
|
||||
EnsureValidW64UnwindInfo();
|
||||
MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo;
|
||||
MCWin64EHInstruction Inst(Win64EH::UOP_SetFPReg, Register, Offset);
|
||||
CurFrame->LastFrameInst = CurFrame->Instructions.size();
|
||||
CurFrame->Instructions.push_back(Inst);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user