Style; no functional change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier 2013-02-28 18:54:27 +00:00
parent 0a4da5f0fe
commit 279706e90e

View File

@ -6343,14 +6343,11 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const {
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);