aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 01:32:19 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 01:32:19 +0000
commitddb259a23c415dff73cf9d85ae835f533690fdfd (patch)
treea86d88b076b567a06fcdade74b1d0f9ae887effc /lib/Target/SystemZ
parentf7215417bb6ab686c5f8b7e85244eb51a8816cf0 (diff)
downloadexternal_llvm-ddb259a23c415dff73cf9d85ae835f533690fdfd.zip
external_llvm-ddb259a23c415dff73cf9d85ae835f533690fdfd.tar.gz
external_llvm-ddb259a23c415dff73cf9d85ae835f533690fdfd.tar.bz2
make printInstruction return void since its result is omitted. Make the
error condition get trapped with an assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ')
-rw-r--r--lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
index 2c73517..00ebf4c 100644
--- a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
+++ b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
@@ -63,7 +63,7 @@ namespace {
O << (int32_t)MI->getOperand(OpNum).getImm();
}
- bool printInstruction(const MachineInstr *MI); // autogenerated.
+ void printInstruction(const MachineInstr *MI); // autogenerated.
void printMachineInstruction(const MachineInstr * MI);
void emitFunctionHeader(const MachineFunction &MF);