add some fixme's for MCizing. EH still has a few things that
[oota-llvm.git] / lib / CodeGen / PrologEpilogInserter.h
index 1dccfd3c43f97d6c4a95f4a8a0bcfad24858ad9a..aa95773596cfef28a8787c4276ebb88845627614 100644 (file)
@@ -94,10 +94,16 @@ namespace llvm {
     // functions.
     bool ShrinkWrapThisFunction;
 
+    // Flag to control whether to use the register scavenger to resolve
+    // frame index materialization registers. Set according to
+    // TRI->requiresFrameIndexScavenging() for the curren function.
+    bool FrameIndexVirtualScavenging;
+
     // When using the scavenger post-pass to resolve frame reference
     // materialization registers, maintain a map of the registers to
     // the constant value and SP adjustment associated with it.
-    typedef std::pair<int, int> FrameConstantEntry;
+    typedef std::pair<TargetRegisterInfo::FrameIndexValue, int>
+      FrameConstantEntry;
     DenseMap<unsigned, FrameConstantEntry> FrameConstantRegMap;
 
 #ifndef NDEBUG