[MC] Allow MCObjectWriter's output stream to be swapped out
[oota-llvm.git] / lib / CodeGen / LiveIntervalAnalysis.cpp
index eaa4b5b238df7e9f78a6d9ebe0b33dd863fc9885..75e3a701d3470aeb756599802d398a5a047d89f6 100644 (file)
@@ -299,7 +299,7 @@ void LiveIntervals::computeLiveInRegUnits() {
     const MachineBasicBlock *MBB = MFI;
 
     // We only care about ABI blocks: Entry + landing pads.
-    if ((MFI != MF->begin() && !MBB->isLandingPad()) || MBB->livein_empty())
+    if ((MFI != MF->begin() && !MBB->isEHPad()) || MBB->livein_empty())
       continue;
 
     // Create phi-defs at Begin for all live-in registers.