From: Vikram S. Adve Date: Mon, 8 Jul 2002 23:04:31 +0000 (+0000) Subject: Rename static struct Initializer to avoid name conflict with BB. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=45c3877b5c7a42454e78c35b24f973508cfa3738;p=oota-llvm.git Rename static struct Initializer to avoid name conflict with BB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2831 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineCodeForInstruction.cpp b/lib/CodeGen/MachineCodeForInstruction.cpp index 98871a7e85b..f21e01651be 100644 --- a/lib/CodeGen/MachineCodeForInstruction.cpp +++ b/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&