mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-23 16:31:20 +00:00
fix these two get the mcsymbol operand instead of imm operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1d72a76616
commit
6b4205aa44
@ -316,8 +316,7 @@ unsigned char* JITDwarfEmitter::EmitExceptionTable(MachineFunction* MF,
|
||||
continue;
|
||||
}
|
||||
|
||||
unsigned BeginLabelID = MI->getOperand(0).getImm();
|
||||
MCSymbol *BeginLabel = MMI->getLabelSym(BeginLabelID);
|
||||
MCSymbol *BeginLabel = MI->getOperand(0).getMCSymbol();
|
||||
assert(BeginLabel && "Invalid label!");
|
||||
|
||||
if (BeginLabel == LastLabel)
|
||||
@ -898,9 +897,7 @@ JITDwarfEmitter::GetExceptionTableSizeInBytes(MachineFunction* MF) const {
|
||||
continue;
|
||||
}
|
||||
|
||||
unsigned BeginLabelID = MI->getOperand(0).getImm();
|
||||
assert(BeginLabelID && "Invalid label!");
|
||||
MCSymbol *BeginLabel = MMI->getLabelSym(BeginLabelID);
|
||||
MCSymbol *BeginLabel = MI->getOperand(0).getMCSymbol();
|
||||
|
||||
if (BeginLabel == LastLabel)
|
||||
MayThrow = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user