aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CellSPU
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/CellSPU
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/CellSPU')
-rw-r--r--lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp b/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
index 3fbba3d..0fd485a 100644
--- a/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
+++ b/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
@@ -67,7 +67,7 @@ namespace {
/// from the instruction set description. This method returns true if the
/// machine instruction was sufficiently described to print it, otherwise it
/// returns false.
- bool printInstruction(const MachineInstr *MI);
+ void printInstruction(const MachineInstr *MI);
void printMachineInstruction(const MachineInstr *MI);
void printOp(const MachineOperand &MO);