mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Remove dead store and simplify code.
llvm-svn: 92191
This commit is contained in:
parent
3fbb708d4f
commit
32467ad0f7
@ -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…
x
Reference in New Issue
Block a user