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 | b94284b5e2aed610005e6d5698480837e0512319 (patch) | |
tree | 7f3ffd6fdee6ad4dda5d1d073fadd55640752fbf /llvm/lib/Target/XCore/XCoreAsmPrinter.cpp | |
parent | 7c3d7f6c595336b0670f05648d850801cd8f7176 (diff) | |
download | bcm5719-llvm-b94284b5e2aed610005e6d5698480837e0512319.tar.gz bcm5719-llvm-b94284b5e2aed610005e6d5698480837e0512319.zip |
make printInstruction return void since its result is omitted. Make the
error condition get trapped with an assert.
llvm-svn: 78449
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/XCore/XCoreAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp b/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp index 1b08c5f4c37..4604b74c833 100644 --- a/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp +++ b/llvm/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); |