aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAlloc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/RegAlloc')
-rw-r--r--lib/CodeGen/RegAlloc/PhyRegAlloc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 4ad98d917f..b783255699 100644
--- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -44,6 +44,8 @@ namespace {
TargetMachine &Target;
public:
inline RegisterAllocator(TargetMachine &T) : Target(T) {}
+
+ const char *getPassName() const { return "Register Allocation"; }
bool runOnFunction(Function *F) {
if (DEBUG_RA)