forked from OSchip/llvm-project
Rename static struct Initializer to avoid name conflict with BB.
llvm-svn: 2831
This commit is contained in:
parent
4180fe41c2
commit
35bac4a658
|
@ -29,11 +29,11 @@ static Annotation *CreateMCFI(AnnotationID AID, const Annotable *, void *) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Register the annotation with the annotation factory
|
// Register the annotation with the annotation factory
|
||||||
static struct Initializer {
|
static struct MCFIInitializer {
|
||||||
Initializer() {
|
MCFIInitializer() {
|
||||||
AnnotationManager::registerAnnotationFactory(MCFI_AID, &CreateMCFI);
|
AnnotationManager::registerAnnotationFactory(MCFI_AID, &CreateMCFI);
|
||||||
}
|
}
|
||||||
} RegisterAID;
|
} RegisterCreateMCFI;
|
||||||
|
|
||||||
|
|
||||||
MachineCodeForInstruction&
|
MachineCodeForInstruction&
|
||||||
|
|
Loading…
Reference in New Issue