Give a better message for a common assertion failure.

llvm-svn: 17887
This commit is contained in:
Brian Gaeke 2004-11-16 06:52:35 +00:00
parent f0173e0c48
commit a057cd2401
1 changed files with 2 additions and 1 deletions

View File

@ -214,7 +214,8 @@ LiveInterval::addRangeFrom(LiveRange LR, Ranges::iterator From) {
// Check to make sure that we are not overlapping two live ranges with
// different ValId's.
assert(B->end <= Start &&
"Cannot overlap two LiveRanges with differing ValID's");
"Cannot overlap two LiveRanges with differing ValID's"
" (did you def the same reg twice in a MachineInstr?)");
}
}