From 35bac4a6581bd7fc0ea18743aa3559e80904e011 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. llvm-svn: 2831 --- llvm/lib/CodeGen/MachineCodeForInstruction.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen/MachineCodeForInstruction.cpp') 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& -- cgit v1.2.3