Unbreak msvc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2011-09-13 03:58:34 +00:00
parent dd9d758a31
commit edd4f8ba4b
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ void LiveRangeCalc::updateLiveIns(VNInfo *OverrideVNI, SlotIndexes *Indexes) {
// The value is live-through, update LiveOut as well. Defer the Domtree
// lookup until it is needed.
assert(Seen.test(MBB->getNumber()));
LiveOut[MBB] = LiveOutPair(VNI, 0);
LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
}
}
LiveIn.clear();

View File

@ -191,7 +191,7 @@ public:
/// addLiveInBlock().
void setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) {
Seen.set(MBB->getNumber());
LiveOut[MBB] = LiveOutPair(VNI, 0);
LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
}
/// addLiveInBlock - Add a block with an unknown live-in value. This