1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Remove dead store and simplify code.

llvm-svn: 92191
This commit is contained in:
Bill Wendling 2009-12-28 01:53:00 +00:00
parent 3fbb708d4f
commit 32467ad0f7

View File

@ -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) {