summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc6cc4850515bb3b430838a1a238827eea827a1bb (patch)
tree720aa21c756cabf1e663638b6aaae3645a82c459 /llvm/lib/CodeGen/Spiller.h
parent7c58d35240bb76dafac8ad97bfa7e71c32cdf69a (diff)
downloadbcm5719-llvm-c6cc4850515bb3b430838a1a238827eea827a1bb.tar.gz
bcm5719-llvm-c6cc4850515bb3b430838a1a238827eea827a1bb.zip
Make SpillIs an optional pointer. Avoid creating a bunch of temporary SmallVectors.
llvm-svn: 127388
Diffstat (limited to 'llvm/lib/CodeGen/Spiller.h')
-rw-r--r--llvm/lib/CodeGen/Spiller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Spiller.h b/llvm/lib/CodeGen/Spiller.h
index f017583494e..fc350754531 100644
--- a/llvm/lib/CodeGen/Spiller.h
+++ b/llvm/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;
};
OpenPOWER on IntegriCloud