diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-09 00:57:29 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-09 00:57:29 +0000 |
commit | 92a55f4bdd120cdd3bb5a004c792d4d24a940311 (patch) | |
tree | ab385f0eb486061c25020ab422032a3beaba78f3 /lib/CodeGen/InlineSpiller.cpp | |
parent | 2adc5b6a17268834b08fda444b1a84550e8c5ae8 (diff) |
Add a LiveRangeEdit::Delegate protocol.
This will we used for keeping register allocator data structures up to date
while LiveRangeEdit is trimming live intervals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InlineSpiller.cpp')
-rw-r--r-- | lib/CodeGen/InlineSpiller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/InlineSpiller.cpp b/lib/CodeGen/InlineSpiller.cpp index 34ae3ec2f3..ec15050fa0 100644 --- a/lib/CodeGen/InlineSpiller.cpp +++ b/lib/CodeGen/InlineSpiller.cpp @@ -333,7 +333,7 @@ void InlineSpiller::insertSpill(LiveInterval &NewLI, void InlineSpiller::spill(LiveInterval *li, SmallVectorImpl<LiveInterval*> &newIntervals, const SmallVectorImpl<LiveInterval*> &spillIs) { - LiveRangeEdit edit(*li, newIntervals, &spillIs); + LiveRangeEdit edit(*li, newIntervals, 0, &spillIs); spill(edit); if (VerifySpills) mf_.verify(&pass_, "After inline spill"); |