[llvm-commits] [llvm] r141197 - /llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp

Akira Hatanaka ahatanaka at mips.com
Wed Oct 5 11:17:49 PDT 2011


Author: ahatanak
Date: Wed Oct  5 13:17:49 2011
New Revision: 141197

URL: http://llvm.org/viewvc/llvm-project?rev=141197&view=rev
Log:
Fix assertion string.


Modified:
    llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp

Modified: llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp?rev=141197&r1=141196&r2=141197&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp Wed Oct  5 13:17:49 2011
@@ -192,7 +192,7 @@
   }
 
   assert((!MCID.isCall() && !MCID.isReturn()) &&
-         "Cannot put calls in delay slot.");
+         "Cannot put calls or returns in delay slot.");
 
   for (unsigned i = 0, e = candidate->getNumOperands(); i!= e; ++i) {
     const MachineOperand &MO = candidate->getOperand(i);





More information about the llvm-commits mailing list