Hack around a regression I introduced yesterday

llvm-svn: 30098
This commit is contained in:
Chris Lattner 2006-09-04 18:20:15 +00:00
parent 373be1d1a2
commit bff0b5969f
1 changed files with 3 additions and 0 deletions

View File

@ -619,6 +619,9 @@ void LiveIntervals::computeIntervals() {
tm_->getInstrInfo()->get(mi->getOpcode());
DEBUG(std::cerr << MIIndex << "\t" << *mi);
// FIXME: Why is this needed?
MIIndex = getInstructionIndex(mi);
// handle implicit defs
if (tid.ImplicitDefs) {
for (const unsigned* id = tid.ImplicitDefs; *id; ++id)