mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
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:
parent
0a4da5f0fe
commit
279706e90e
@ -6343,14 +6343,11 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const {
|
|||||||
|
|
||||||
MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock();
|
MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock();
|
||||||
unsigned trap_opcode;
|
unsigned trap_opcode;
|
||||||
if (Subtarget->isThumb()) {
|
if (Subtarget->isThumb())
|
||||||
trap_opcode = ARM::tTRAP;
|
trap_opcode = ARM::tTRAP;
|
||||||
} else {
|
else
|
||||||
if (Subtarget->useNaClTrap())
|
trap_opcode = Subtarget->useNaClTrap() ? ARM::TRAPNaCl : ARM::TRAP;
|
||||||
trap_opcode = ARM::TRAPNaCl;
|
|
||||||
else
|
|
||||||
trap_opcode = ARM::TRAP;
|
|
||||||
}
|
|
||||||
BuildMI(TrapBB, dl, TII->get(trap_opcode));
|
BuildMI(TrapBB, dl, TII->get(trap_opcode));
|
||||||
DispatchBB->addSuccessor(TrapBB);
|
DispatchBB->addSuccessor(TrapBB);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user