From 42be280a288b2bfc5f072ea83802088e0fb073e7 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Wed, 5 Oct 2011 18:17:49 +0000 Subject: [PATCH] Fix assertion string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141197 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsDelaySlotFiller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Mips/MipsDelaySlotFiller.cpp b/lib/Target/Mips/MipsDelaySlotFiller.cpp index 94bdd681078..be3b7a02ec3 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);