RegPressureTracker::dump(): Remove unnecessary argument.
authorAndrew Trick <atrick@apple.com>
Wed, 5 Dec 2012 23:05:22 +0000 (23:05 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 5 Dec 2012 23:05:22 +0000 (23:05 +0000)
llvm-svn: 169443

llvm/include/llvm/CodeGen/RegisterPressure.h
llvm/lib/CodeGen/RegisterPressure.cpp

index 6049532..2670180 100644 (file)
@@ -304,7 +304,7 @@ public:
     return getDownwardPressure(MI, PressureResult, MaxPressureResult);
   }
 
-  void dump(const TargetRegisterInfo *TRI) const;
+  void dump() const;
 
 protected:
   const LiveInterval *getInterval(unsigned Reg) const;
index c7859b9..62e95aa 100644 (file)
@@ -97,7 +97,7 @@ void RegisterPressure::dump(const TargetRegisterInfo *TRI) const {
   dbgs() << '\n';
 }
 
-void RegPressureTracker::dump(const TargetRegisterInfo *TRI) const {
+void RegPressureTracker::dump() const {
   dbgs() << "Curr Pressure: ";
   dumpSetPressure(CurrSetPressure, TRI);
   P.dump(TRI);