aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-10-06 21:02:27 +0000
committerOwen Anderson <resistor@mac.com>2010-10-06 21:02:27 +0000
commite9ef41a47d2ee637b6aed5d018c4d90019d987ac (patch)
treec35cbecfcd21bfb9f4b7e55b94a560b2db071823 /lib/CodeGen
parentd6747df5e0354256a9e440d38f21c0b3ca82af28 (diff)
downloadexternal_llvm-e9ef41a47d2ee637b6aed5d018c4d90019d987ac.zip
external_llvm-e9ef41a47d2ee637b6aed5d018c4d90019d987ac.tar.gz
external_llvm-e9ef41a47d2ee637b6aed5d018c4d90019d987ac.tar.bz2
Hide analysis group registration behind a macro, just like pass registration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp
index 02b5539..b97a3a0 100644
--- a/lib/CodeGen/RegisterCoalescer.cpp
+++ b/lib/CodeGen/RegisterCoalescer.cpp
@@ -24,7 +24,7 @@
using namespace llvm;
// Register the RegisterCoalescer interface, providing a nice name to refer to.
-static RegisterAnalysisGroup<RegisterCoalescer> Z("Register Coalescer");
+INITIALIZE_ANALYSIS_GROUP(RegisterCoalescer, "Register Coalescer");
char RegisterCoalescer::ID = 0;
// RegisterCoalescer destructor: DO NOT move this to the header file