diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 01:32:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 01:32:19 +0000 |
commit | ddb259a23c415dff73cf9d85ae835f533690fdfd (patch) | |
tree | a86d88b076b567a06fcdade74b1d0f9ae887effc /lib/Target/SystemZ | |
parent | f7215417bb6ab686c5f8b7e85244eb51a8816cf0 (diff) | |
download | external_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.cpp | 2 |
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); |