summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 00:05:42 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 00:05:42 +0000
commitb1692dc26716c5ad22de4c177d52c2bb1f6eaa04 (patch)
tree610e810273f2f0d3cf46b964ccfe74dffbf94a0c /llvm/lib/Target/XCore
parent674ffc1e5937490bf6e5b532aff4a08ed44bc9e4 (diff)
downloadbcm5719-llvm-b1692dc26716c5ad22de4c177d52c2bb1f6eaa04.tar.gz
bcm5719-llvm-b1692dc26716c5ad22de4c177d52c2bb1f6eaa04.zip
don't check the result of printInstruction anymore.
llvm-svn: 78444
Diffstat (limited to 'llvm/lib/Target/XCore')
-rw-r--r--llvm/lib/Target/XCore/XCoreAsmPrinter.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp b/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp
index dc312129d23..1b08c5f4c37 100644
--- a/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp
+++ b/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp
@@ -364,10 +364,7 @@ void XCoreAsmPrinter::printMachineInstruction(const MachineInstr *MI) {
O << "\n";
return;
}
- if (printInstruction(MI)) {
- return;
- }
- llvm_unreachable("Unhandled instruction in asm writer!");
+ printInstruction(MI);
}
bool XCoreAsmPrinter::doInitialization(Module &M) {
OpenPOWER on IntegriCloud