From acac7f59d5e9e0da8ae63d26ca2ae946902d784c Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 1 Dec 2015 04:19:58 +0000 Subject: [PATCH] RegisterPressure: There is no need to make discoverLive{In|Out} public git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254369 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/RegisterPressure.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/CodeGen/RegisterPressure.h b/include/llvm/CodeGen/RegisterPressure.h index 166bd868689..b6e0a20526f 100644 --- a/include/llvm/CodeGen/RegisterPressure.h +++ b/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 Regs); -- 2.34.1