[llvm-commits] [llvm] r134622 - /llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
Akira Hatanaka
ahatanak at gmail.com
Thu Jul 7 11:27:36 PDT 2011
Author: ahatanak
Date: Thu Jul 7 13:27:36 2011
New Revision: 134622
URL: http://llvm.org/viewvc/llvm-project?rev=134622&view=rev
Log:
Add missing return statement.
Modified:
llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp?rev=134622&r1=134621&r2=134622&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp Thu Jul 7 13:27:36 2011
@@ -78,8 +78,10 @@
SmallString<128> Str;
raw_svector_ostream OS(Str);
- if (MI->isDebugValue())
+ if (MI->isDebugValue()) {
PrintDebugValueComment(MI, OS);
+ return;
+ }
printInstruction(MI, OS);
OutStreamer.EmitRawText(OS.str());
More information about the llvm-commits
mailing list