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 | f44e6aff1024b3718394172fd85e74415e31c329 (patch) | |
| tree | ecc515811fea79d68e2aa582d2a8ac20f6d1605e /lib/CodeGen/SplitKit.cpp | |
| parent | a5142538b3506d24c90018f185f8f1f36165fd5f (diff) | |
| download | external_llvm-f44e6aff1024b3718394172fd85e74415e31c329.zip external_llvm-f44e6aff1024b3718394172fd85e74415e31c329.tar.gz external_llvm-f44e6aff1024b3718394172fd85e74415e31c329.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/SplitKit.cpp')
| -rw-r--r-- | lib/CodeGen/SplitKit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index b919f0d..a838706 100644 --- a/lib/CodeGen/SplitKit.cpp +++ b/lib/CodeGen/SplitKit.cpp @@ -342,7 +342,7 @@ bool SplitAnalysis::getMultiUseBlocks(BlockPtrSet &Blocks) { /// Create a new SplitEditor for editing the LiveInterval analyzed by SA. SplitEditor::SplitEditor(SplitAnalysis &sa, LiveIntervals &lis, VirtRegMap &vrm, - std::vector<LiveInterval*> &intervals) + SmallVectorImpl<LiveInterval*> &intervals) : sa_(sa), lis_(lis), vrm_(vrm), mri_(vrm.getMachineFunction().getRegInfo()), tii_(*vrm.getMachineFunction().getTarget().getInstrInfo()), |
