Update to in-place spilling framework. Includes live interval scaling and trivial rewriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72729 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h
index 730419b..cad054d 100644
--- a/lib/CodeGen/Spiller.h
+++ b/lib/CodeGen/Spiller.h
@@ -13,8 +13,9 @@
#include <vector>
namespace llvm {
- struct LiveInterval;
+ class LiveInterval;
class LiveIntervals;
+ class LiveStacks;
class MachineFunction;
class VirtRegMap;
@@ -30,7 +31,7 @@
/// Create and return a spiller object, as specified on the command line.
Spiller* createSpiller(MachineFunction *mf, LiveIntervals *li,
- VirtRegMap *vrm);
+ LiveStacks *ls, VirtRegMap *vrm);
}
#endif