diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-13 22:56:53 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-13 22:56:53 +0000 |
commit | 0a2b2a1497a77f1db281d4dc9f21d01fe48f6ec6 (patch) | |
tree | ecc515811fea79d68e2aa582d2a8ac20f6d1605e /lib/CodeGen/Spiller.h | |
parent | 703af3ab128addcd061e0761b059a919da2a4066 (diff) | |
download | external_llvm-0a2b2a1497a77f1db281d4dc9f21d01fe48f6ec6.zip external_llvm-0a2b2a1497a77f1db281d4dc9f21d01fe48f6ec6.tar.gz external_llvm-0a2b2a1497a77f1db281d4dc9f21d01fe48f6ec6.tar.bz2 |
Clean up the Spiller.h interface.
The earliestStart argument is entirely specific to linear scan allocation, and
can be easily calculated by RegAllocLinearScan.
Replace std::vector with SmallVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.h')
-rw-r--r-- | lib/CodeGen/Spiller.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h index 3d5172a..59bc0ec 100644 --- a/lib/CodeGen/Spiller.h +++ b/lib/CodeGen/Spiller.h @@ -11,7 +11,6 @@ #define LLVM_CODEGEN_SPILLER_H #include "llvm/ADT/SmallVector.h" -#include <vector> namespace llvm { @@ -36,12 +35,9 @@ namespace llvm { /// @param spillIs A list of intervals that are about to be spilled, /// and so cannot be used for remat etc. /// @param newIntervals The newly created intervals will be appended here. - /// @param earliestIndex The earliest point for splitting. (OK, it's another - /// pointer to the allocator guts). virtual void spill(LiveInterval *li, - std::vector<LiveInterval*> &newIntervals, - SmallVectorImpl<LiveInterval*> &spillIs, - SlotIndex *earliestIndex = 0) = 0; + SmallVectorImpl<LiveInterval*> &newIntervals, + SmallVectorImpl<LiveInterval*> &spillIs) = 0; }; |