Fix assertion string.
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 5 Oct 2011 18:17:49 +0000 (18:17 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 5 Oct 2011 18:17:49 +0000 (18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141197 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsDelaySlotFiller.cpp

index 94bdd68107852047e71dbf2cd2cd69b3f43c4599..be3b7a02ec3127578f9a046c8988d1c25058ae81 100644 (file)
@@ -192,7 +192,7 @@ bool Filler::delayHasHazard(MachineBasicBlock::iterator candidate,
   }
 
   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);