aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-22 19:11:53 +0000
committerChris Lattner <sabre@nondot.org>2010-01-22 19:11:53 +0000
commit14cac45852f9cbf7d318662aa0dfdfc27baa67ed (patch)
tree92fc35f7b55caed63109e148b9b637bb19f72c86 /lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
parent364d9d19bfc3a5a3a8167f5bb6cc5c47c2c540f1 (diff)
downloadexternal_llvm-14cac45852f9cbf7d318662aa0dfdfc27baa67ed.zip
external_llvm-14cac45852f9cbf7d318662aa0dfdfc27baa67ed.tar.gz
external_llvm-14cac45852f9cbf7d318662aa0dfdfc27baa67ed.tar.bz2
add missing break, PR6114, patch by M Wahab.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp')
-rw-r--r--lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp b/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
index 9735873..40d7160 100644
--- a/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
+++ b/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
@@ -315,6 +315,7 @@ void XCoreAsmPrinter::printOperand(const MachineInstr *MI, int opNum) {
case MachineOperand::MO_JumpTableIndex:
O << MAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber()
<< '_' << MO.getIndex();
+ break;
case MachineOperand::MO_BlockAddress:
O << *GetBlockAddressSymbol(MO.getBlockAddress());
break;