summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430AsmPrinter.cpp
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/MSP430/MSP430AsmPrinter.cpp
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/MSP430/MSP430AsmPrinter.cpp')
-rw-r--r--lib/Target/MSP430/MSP430AsmPrinter.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/MSP430/MSP430AsmPrinter.cpp b/lib/Target/MSP430/MSP430AsmPrinter.cpp
index 2da7cdd61c..573ca57ec0 100644
--- a/lib/Target/MSP430/MSP430AsmPrinter.cpp
+++ b/lib/Target/MSP430/MSP430AsmPrinter.cpp
@@ -142,10 +142,7 @@ void MSP430AsmPrinter::printMachineInstruction(const MachineInstr *MI) {
++EmittedInsts;
// Call the autogenerated instruction printer routines.
- if (printInstruction(MI))
- return;
-
- llvm_unreachable("Should not happen");
+ printInstruction(MI);
}
void MSP430AsmPrinter::printOperand(const MachineInstr *MI, int OpNum,