summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreAsmPrinter.cpp
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/XCore/XCoreAsmPrinter.cpp
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/XCore/XCoreAsmPrinter.cpp')
-rw-r--r--lib/Target/XCore/XCoreAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreAsmPrinter.cpp b/lib/Target/XCore/XCoreAsmPrinter.cpp
index 1b08c5f4c3..4604b74c83 100644
--- a/lib/Target/XCore/XCoreAsmPrinter.cpp
+++ b/lib/Target/XCore/XCoreAsmPrinter.cpp
@@ -77,7 +77,7 @@ namespace {
void emitFunctionStart(MachineFunction &MF);
void emitFunctionEnd(MachineFunction &MF);
- bool printInstruction(const MachineInstr *MI); // autogenerated.
+ void printInstruction(const MachineInstr *MI); // autogenerated.
void printMachineInstruction(const MachineInstr *MI);
bool runOnMachineFunction(MachineFunction &F);
bool doInitialization(Module &M);