Change an assertion to assert what the code actually relies upon.

llvm-svn: 122586
This commit is contained in:
Cameron Zwarich 2010-12-27 22:08:42 +00:00
parent cb18bfa3d2
commit 5e5cfbe871
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction& MF) {
LiveInterval& DestLI = LI->getInterval(DestReg);
LiveInterval& NewLI = LI->getInterval(NewReg);
assert(DestLI.containsOneValue());
assert(DestLI.ranges.size() == 1);
LiveRange* DestLR = DestLI.begin();
VNInfo* NewVNI = NewLI.getVNInfoAt(DestLR->start);
if (!NewVNI) {