summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-07-08 23:04:31 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-07-08 23:04:31 +0000
commit45c3877b5c7a42454e78c35b24f973508cfa3738 (patch)
tree728431922707d77e8dade494ecf05b4100541c10 /lib/CodeGen
parent432e1ca621af9a3d51fe658d8c9460828bdd8524 (diff)
downloadllvm-45c3877b5c7a42454e78c35b24f973508cfa3738.tar.gz
llvm-45c3877b5c7a42454e78c35b24f973508cfa3738.tar.bz2
llvm-45c3877b5c7a42454e78c35b24f973508cfa3738.tar.xz
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/MachineCodeForInstruction.cpp6
1 files changed, 3 insertions, 3 deletions
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&