X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FSpiller.h;h=dda52e871feafffff473e967eec8cac57dc58b0f;hb=ee0d89245eabf93d89b5fef7ac8707680796826d;hp=7ec8e6d7ffb549da5753ec06dde033b52039113d;hpb=835ca07991c1b8ec47240b15417e1b2732480094;p=oota-llvm.git diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h index 7ec8e6d7ffb..dda52e871fe 100644 --- a/lib/CodeGen/Spiller.h +++ b/lib/CodeGen/Spiller.h @@ -21,6 +21,7 @@ namespace llvm { class MachineFunction; class MachineInstr; class MachineLoopInfo; + class SlotIndex; class VirtRegMap; class VNInfo; @@ -35,14 +36,14 @@ namespace llvm { /// Spill the given live range. The method used will depend on the Spiller /// implementation selected. virtual std::vector spill(LiveInterval *li, - SmallVectorImpl &spillIs) = 0; + SmallVectorImpl &spillIs, + SlotIndex *earliestIndex = 0) = 0; }; /// Create and return a spiller object, as specified on the command line. Spiller* createSpiller(MachineFunction *mf, LiveIntervals *li, - LiveStacks *ls, const MachineLoopInfo *loopInfo, - VirtRegMap *vrm); + const MachineLoopInfo *loopInfo, VirtRegMap *vrm); } #endif