aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-10 01:21:58 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-10 01:21:58 +0000
commit38f6bd0fc8095ef79a89b3db15ff6dc734ac90e7 (patch)
treeefa693ceeb60b477df8d2442372b45a2e99f5edd /lib/CodeGen/Spiller.h
parent581d535af91dd55326250986273eabb495e55119 (diff)
downloadexternal_llvm-38f6bd0fc8095ef79a89b3db15ff6dc734ac90e7.tar.gz
external_llvm-38f6bd0fc8095ef79a89b3db15ff6dc734ac90e7.tar.bz2
external_llvm-38f6bd0fc8095ef79a89b3db15ff6dc734ac90e7.zip
Make SpillIs an optional pointer. Avoid creating a bunch of temporary SmallVectors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.h')
-rw-r--r--lib/CodeGen/Spiller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h
index f017583494..fc35075453 100644
--- a/lib/CodeGen/Spiller.h
+++ b/lib/CodeGen/Spiller.h
@@ -36,7 +36,7 @@ namespace llvm {
/// @param newIntervals The newly created intervals will be appended here.
virtual void spill(LiveInterval *li,
SmallVectorImpl<LiveInterval*> &newIntervals,
- const SmallVectorImpl<LiveInterval*> &spillIs) = 0;
+ const SmallVectorImpl<LiveInterval*> *spillIs) = 0;
};