From 6e2968c85c1e162ee5bc813769eab223e3df0f15 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Sat, 25 Sep 2010 12:04:16 +0000 Subject: Removed VNInfo::isDefAccurate(). Def "accuracy" can be checked by testing whether LiveIntervals::getInstructionFromIndex(def) returns NULL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114791 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SplitKit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen/SplitKit.cpp') diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index da85b428b5..048f6ab1ba 100644 --- a/lib/CodeGen/SplitKit.cpp +++ b/lib/CodeGen/SplitKit.cpp @@ -365,7 +365,7 @@ VNInfo *LiveIntervalMap::defValue(const VNInfo *ParentVNI, SlotIndex Idx) { assert(parentli_.getVNInfoAt(Idx) == ParentVNI && "Bad ParentVNI"); // Create a new value. - VNInfo *VNI = li_->getNextValue(Idx, 0, true, lis_.getVNInfoAllocator()); + VNInfo *VNI = li_->getNextValue(Idx, 0, lis_.getVNInfoAllocator()); // Use insert for lookup, so we can add missing values with a second lookup. std::pair InsP = @@ -468,7 +468,7 @@ VNInfo *LiveIntervalMap::mapValue(const VNInfo *ParentVNI, SlotIndex Idx, // We have a collision between the old and new VNI at Succ. That means // neither dominates and we need a new phi-def. - VNI = li_->getNextValue(Start, 0, true, lis_.getVNInfoAllocator()); + VNI = li_->getNextValue(Start, 0, lis_.getVNInfoAllocator()); VNI->setIsPHIDef(true); InsP.first->second = VNI; -- cgit v1.2.3