summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMCodeEmitter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-07-08 00:05:05 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-07-08 00:05:05 +0000
commitb61e3a83ee6437020f78f7c7eafd2202246db448 (patch)
tree399f1e948a51dbd0f06fc295924115eece14ae1d /llvm/lib/Target/ARM/ARMCodeEmitter.cpp
parentabd6813ff9711818cde46efecfd7e0d7cc82e013 (diff)
downloadbcm5719-llvm-b61e3a83ee6437020f78f7c7eafd2202246db448.tar.gz
bcm5719-llvm-b61e3a83ee6437020f78f7c7eafd2202246db448.zip
Add a todo.
llvm-svn: 74976
Diffstat (limited to 'llvm/lib/Target/ARM/ARMCodeEmitter.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMCodeEmitter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMCodeEmitter.cpp
index c10f2dfb641..da7e85e5d06 100644
--- a/llvm/lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/llvm/lib/Target/ARM/ARMCodeEmitter.cpp
@@ -1165,7 +1165,8 @@ void Emitter<CodeEmitter>::emitMiscBranchInstruction(const MachineInstr &MI) {
emitDataProcessingInstruction(MI, ARM::PC);
// Then emit the inline jump table.
- unsigned JTIndex = (TID.Opcode == ARM::BR_JTr || TID.Opcode == ARM::t2BR_JTr)
+ unsigned JTIndex =
+ (TID.Opcode == ARM::BR_JTr || TID.Opcode == ARM::t2BR_JTr)
? MI.getOperand(1).getIndex() : MI.getOperand(2).getIndex();
emitInlineJumpTable(JTIndex);
return;
OpenPOWER on IntegriCloud