[llvm] r176285 - Style; no functional change.
Chad Rosier
mcrosier at apple.com
Thu Feb 28 10:54:27 PST 2013
Author: mcrosier
Date: Thu Feb 28 12:54:27 2013
New Revision: 176285
URL: http://llvm.org/viewvc/llvm-project?rev=176285&view=rev
Log:
Style; no functional change.
Modified:
llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=176285&r1=176284&r2=176285&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Thu Feb 28 12:54:27 2013
@@ -6343,14 +6343,11 @@ EmitSjLjDispatchBlock(MachineInstr *MI,
MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock();
unsigned trap_opcode;
- if (Subtarget->isThumb()) {
+ if (Subtarget->isThumb())
trap_opcode = ARM::tTRAP;
- } else {
- if (Subtarget->useNaClTrap())
- trap_opcode = ARM::TRAPNaCl;
- else
- trap_opcode = ARM::TRAP;
- }
+ else
+ trap_opcode = Subtarget->useNaClTrap() ? ARM::TRAPNaCl : ARM::TRAP;
+
BuildMI(TrapBB, dl, TII->get(trap_opcode));
DispatchBB->addSuccessor(TrapBB);
More information about the llvm-commits
mailing list