[llvm] r254369 - RegisterPressure: There is no need to make discoverLive{In|Out} public

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 20:19:59 PST 2015


Author: matze
Date: Mon Nov 30 22:19:58 2015
New Revision: 254369

URL: http://llvm.org/viewvc/llvm-project?rev=254369&view=rev
Log:
RegisterPressure: There is no need to make discoverLive{In|Out} public

Modified:
    llvm/trunk/include/llvm/CodeGen/RegisterPressure.h

Modified: llvm/trunk/include/llvm/CodeGen/RegisterPressure.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/RegisterPressure.h?rev=254369&r1=254368&r2=254369&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/RegisterPressure.h (original)
+++ llvm/trunk/include/llvm/CodeGen/RegisterPressure.h Mon Nov 30 22:19:58 2015
@@ -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);




More information about the llvm-commits mailing list