Make SpillIs an optional pointer. Avoid creating a bunch of temporary SmallVectors.
[oota-llvm.git] / lib / CodeGen / Spiller.h
index f017583494ed28f2c621fdbbbdf180d5702c003b..fc35075453100228b7b3d146da9a202006d9d3c6 100644 (file)
@@ -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;
 
   };