Fixed version of 121434 with no new memory leaks.
[oota-llvm.git] / lib / CodeGen / Spiller.h
index b0a5c4126683b1ba45a717f673f4b17d925bddaf..92f092a0da58760673b0cb2676ef79157f6cdab4 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,
-                       SmallVectorImpl<LiveInterval*> &spillIs) = 0;
+                       const SmallVectorImpl<LiveInterval*> &spillIs) = 0;
 
   };