From 45c3877b5c7a42454e78c35b24f973508cfa3738 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 8 Jul 2002 23:04:31 +0000 Subject: 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 --- lib/CodeGen/MachineCodeForInstruction.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/CodeGen/MachineCodeForInstruction.cpp') diff --git a/lib/CodeGen/MachineCodeForInstruction.cpp b/lib/CodeGen/MachineCodeForInstruction.cpp index 98871a7e85..f21e01651b 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& -- cgit v1.2.3-18-g5258