RegisterPressure: There is no need to make discoverLive{In|Out} public
authorMatthias Braun <matze@braunis.de>
Tue, 1 Dec 2015 04:19:58 +0000 (04:19 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 1 Dec 2015 04:19:58 +0000 (04:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254369 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/RegisterPressure.h

index 166bd86868914db5c1a205cacc553eb138714e07..b6e0a20526fc6c7a93ff46dce35b3f619d8326a5 100644 (file)
@@ -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);