aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/CodeGen/RegAlloc/PhyRegAlloc.h4
-rw-r--r--lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/lib/CodeGen/RegAlloc/PhyRegAlloc.h
index 79bae3c1a9..3a3d66f16f 100644
--- a/lib/CodeGen/RegAlloc/PhyRegAlloc.h
+++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.h
@@ -110,6 +110,10 @@ class PhyRegAlloc: public NonCopyable
void markUnusableSugColors();
void allocateStackSpace4SpilledLRs();
+ void insertCode4SpilledLR (const LiveRange *LR,
+ MachineInstr *MInst,
+ const BasicBlock *BB,
+ const unsigned OpNum);
inline void constructLiveRanges()
{ LRI.constructLiveRanges(); }
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
index 79bae3c1a9..3a3d66f16f 100644
--- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
+++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
@@ -110,6 +110,10 @@ class PhyRegAlloc: public NonCopyable
void markUnusableSugColors();
void allocateStackSpace4SpilledLRs();
+ void insertCode4SpilledLR (const LiveRange *LR,
+ MachineInstr *MInst,
+ const BasicBlock *BB,
+ const unsigned OpNum);
inline void constructLiveRanges()
{ LRI.constructLiveRanges(); }