diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-08 23:04:31 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-08 23:04:31 +0000 |
commit | 35bac4a6581bd7fc0ea18743aa3559e80904e011 (patch) | |
tree | 4d06fa6c1058d1d2aba3a952b744db9c28282b54 /llvm/lib/CodeGen | |
parent | 4180fe41c2856d37adfbf0aa54c71faaed28f9ef (diff) | |
download | bcm5719-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.cpp | 6 |
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& |