diff options
author | Pete Cooper <peter_cooper@apple.com> | 2012-04-02 22:22:53 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2012-04-02 22:22:53 +0000 |
commit | 8a06af96698537377275dd7848db69915638dd26 (patch) | |
tree | 63f00f6268a9617f1daaf7ac164523730e62c3d2 /lib/CodeGen/RegAllocPBQP.cpp | |
parent | 3197b4453d214aa96de3a42da8f8fe189fff2077 (diff) |
Refactored the LiveRangeEdit interface so that MachineFunction, TargetInstrInfo, MachineRegisterInfo, LiveIntervals, and VirtRegMap are all passed into the constructor and stored as members instead of passed in to each method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocPBQP.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocPBQP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index 7d340baed3..239e9dbedb 100644 --- a/lib/CodeGen/RegAllocPBQP.cpp +++ b/lib/CodeGen/RegAllocPBQP.cpp @@ -550,7 +550,7 @@ bool RegAllocPBQP::mapPBQPToRegAlloc(const PBQPRAProblem &problem, } else if (problem.isSpillOption(vreg, alloc)) { vregsToAlloc.erase(vreg); SmallVector<LiveInterval*, 8> newSpills; - LiveRangeEdit LRE(lis->getInterval(vreg), newSpills); + LiveRangeEdit LRE(lis->getInterval(vreg), newSpills, *mf, *lis, vrm); spiller->spill(LRE); DEBUG(dbgs() << "VREG " << vreg << " -> SPILLED (Cost: " |