aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-12-05 23:05:22 +0000
committerAndrew Trick <atrick@apple.com>2012-12-05 23:05:22 +0000
commit22af4bc07bb81c22b15d7a63fb566efcab913bd9 (patch)
tree710fc7eccba039606adffbe9aafb926e770d7207
parent00fb9c429e4400f3daeb87e6fad9498d4c73862a (diff)
downloadexternal_llvm-22af4bc07bb81c22b15d7a63fb566efcab913bd9.zip
external_llvm-22af4bc07bb81c22b15d7a63fb566efcab913bd9.tar.gz
external_llvm-22af4bc07bb81c22b15d7a63fb566efcab913bd9.tar.bz2
RegPressureTracker::dump(): Remove unnecessary argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169443 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/RegisterPressure.h2
-rw-r--r--lib/CodeGen/RegisterPressure.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/RegisterPressure.h b/include/llvm/CodeGen/RegisterPressure.h
index 6049532..2670180 100644
--- a/include/llvm/CodeGen/RegisterPressure.h
+++ b/include/llvm/CodeGen/RegisterPressure.h
@@ -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;
diff --git a/lib/CodeGen/RegisterPressure.cpp b/lib/CodeGen/RegisterPressure.cpp
index c7859b9..62e95aa 100644
--- a/lib/CodeGen/RegisterPressure.cpp
+++ b/lib/CodeGen/RegisterPressure.cpp
@@ -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);