summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-07-08 23:04:31 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-07-08 23:04:31 +0000
commit35bac4a6581bd7fc0ea18743aa3559e80904e011 (patch)
tree4d06fa6c1058d1d2aba3a952b744db9c28282b54 /llvm/lib/CodeGen
parent4180fe41c2856d37adfbf0aa54c71faaed28f9ef (diff)
downloadbcm5719-llvm-35bac4a6581bd7fc0ea18743aa3559e80904e011.tar.gz
bcm5719-llvm-35bac4a6581bd7fc0ea18743aa3559e80904e011.zip
Rename static struct Initializer to avoid name conflict with BB.
llvm-svn: 2831
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineCodeForInstruction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp
index 98871a7e85b..f21e01651be 100644
--- a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp
+++ b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp
@@ -29,11 +29,11 @@ static Annotation *CreateMCFI(AnnotationID AID, const Annotable *, void *) {
}
// Register the annotation with the annotation factory
-static struct Initializer {
- Initializer() {
+static struct MCFIInitializer {
+ MCFIInitializer() {
AnnotationManager::registerAnnotationFactory(MCFI_AID, &CreateMCFI);
}
-} RegisterAID;
+} RegisterCreateMCFI;
MachineCodeForInstruction&
OpenPOWER on IntegriCloud