summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/RegisterPressure.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/RegisterPressure.h b/llvm/include/llvm/CodeGen/RegisterPressure.h
index 166bd868689..b6e0a20526f 100644
--- a/llvm/include/llvm/CodeGen/RegisterPressure.h
+++ b/llvm/include/llvm/CodeGen/RegisterPressure.h
@@ -365,9 +365,6 @@ public:
return CurrSetPressure;
}
- void discoverLiveOut(unsigned Reg);
- void discoverLiveIn(unsigned Reg);
-
bool isTopClosed() const;
bool isBottomClosed() const;
@@ -442,6 +439,9 @@ public:
void dump() const;
protected:
+ void discoverLiveOut(unsigned Reg);
+ void discoverLiveIn(unsigned Reg);
+
const LiveRange *getLiveRange(unsigned Reg) const;
void increaseRegPressure(ArrayRef<unsigned> Regs);
OpenPOWER on IntegriCloud