summaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AsmPrinter
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/Alpha/AsmPrinter
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/Alpha/AsmPrinter')
-rw-r--r--lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
index c2152a42b3..92b85d304c 100644
--- a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
+++ b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
@@ -175,9 +175,7 @@ bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
II != E; ++II) {
// Print the assembly for the instruction.
++EmittedInsts;
- if (!printInstruction(II)) {
- llvm_unreachable("Unhandled instruction in asm writer!");
- }
+ printInstruction(II);
}
}