aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsDelaySlotFiller.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-10-05 18:17:49 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-10-05 18:17:49 +0000
commit42be280a288b2bfc5f072ea83802088e0fb073e7 (patch)
tree0f6095e1a8902c5475ce8bad1d502498997785c6 /lib/Target/Mips/MipsDelaySlotFiller.cpp
parent41a796e9cc6cc72b9380a5f09f0c27dc607e0613 (diff)
Fix assertion string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsDelaySlotFiller.cpp')
-rw-r--r--lib/Target/Mips/MipsDelaySlotFiller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsDelaySlotFiller.cpp b/lib/Target/Mips/MipsDelaySlotFiller.cpp
index 94bdd68107..be3b7a02ec 100644
--- a/lib/Target/Mips/MipsDelaySlotFiller.cpp
+++ b/lib/Target/Mips/MipsDelaySlotFiller.cpp
@@ -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);