summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/AsmPrinter
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
commit41aefdcdd1c1631041834d53ffada106a5cfaf02 (patch)
treea86d88b076b567a06fcdade74b1d0f9ae887effc /lib/Target/Sparc/AsmPrinter
parent8a1871d10b3c8cdbac9b8378eebd95461790d1e6 (diff)
downloadllvm-41aefdcdd1c1631041834d53ffada106a5cfaf02.tar.gz
llvm-41aefdcdd1c1631041834d53ffada106a5cfaf02.tar.bz2
llvm-41aefdcdd1c1631041834d53ffada106a5cfaf02.tar.xz
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/Sparc/AsmPrinter')
-rw-r--r--lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
index b12edffc76..ff11cdf039 100644
--- a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
+++ b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
@@ -65,7 +65,7 @@ namespace {
const char *Modifier = 0);
void printCCOperand(const MachineInstr *MI, int opNum);
- bool printInstruction(const MachineInstr *MI); // autogenerated.
+ void printInstruction(const MachineInstr *MI); // autogenerated.
bool runOnMachineFunction(MachineFunction &F);
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
unsigned AsmVariant, const char *ExtraCode);