summaryrefslogtreecommitdiff
path: root/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
commit2698cb6811276736a8e892e545609a9048a917fe (patch)
tree9db5c3c0b98e41dc11da6b27698b72cb4e055458 /lib/Target/XCore
parent941222eea05cb5e0bf6b1789c3d6beb4e66cc375 (diff)
downloadllvm-2698cb6811276736a8e892e545609a9048a917fe.tar.gz
llvm-2698cb6811276736a8e892e545609a9048a917fe.tar.bz2
llvm-2698cb6811276736a8e892e545609a9048a917fe.tar.xz
don't check the result of printInstruction anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore')
-rw-r--r--lib/Target/XCore/XCoreAsmPrinter.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/XCore/XCoreAsmPrinter.cpp b/lib/Target/XCore/XCoreAsmPrinter.cpp
index dc312129d2..1b08c5f4c3 100644
--- a/lib/Target/XCore/XCoreAsmPrinter.cpp
+++ b/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) {