Rename static struct Initializer to avoid name conflict with BB.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 8 Jul 2002 23:04:31 +0000 (23:04 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 8 Jul 2002 23:04:31 +0000 (23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2831 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineCodeForInstruction.cpp

index 98871a7e85b0cd881dabafb352796b7c4e5c91df..f21e01651beff6449f79ebf3c40e7c959eb68169 100644 (file)
@@ -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&