remove parser support for the obsolete "multiple return values" syntax, which
[oota-llvm.git] / lib / CodeGen / LiveIntervalAnalysis.cpp
index 19bb7e34d25b32276a935516612a7a1be6a52b73..9257191f7fc0677027a745dfaecf597f3a45a5d1 100644 (file)
@@ -638,7 +638,7 @@ void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
       end = MIIdx.getStoreIndex();
     } else {
       DEBUG(dbgs() << " live through");
-      end = baseIndex;
+      end = getMBBEndIdx(MBB);
     }
   }