mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Remove dead store and simplify code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9882007003
commit
abeca44d63
@ -429,13 +429,12 @@ unsigned char* JITDwarfEmitter::EmitExceptionTable(MachineFunction* MF,
|
||||
|
||||
// Asm->EOL("Region start");
|
||||
|
||||
if (!S.EndLabel) {
|
||||
if (!S.EndLabel)
|
||||
EndLabelPtr = (intptr_t)EndFunction;
|
||||
JCE->emitInt32((intptr_t)EndFunction - BeginLabelPtr);
|
||||
} else {
|
||||
else
|
||||
EndLabelPtr = JCE->getLabelAddress(S.EndLabel);
|
||||
JCE->emitInt32(EndLabelPtr - BeginLabelPtr);
|
||||
}
|
||||
|
||||
JCE->emitInt32(EndLabelPtr - BeginLabelPtr);
|
||||
//Asm->EOL("Region length");
|
||||
|
||||
if (!S.PadLabel) {
|
||||
|
Loading…
Reference in New Issue
Block a user