mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
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
This commit is contained in:
parent
432e1ca621
commit
45c3877b5c
@ -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&
|
||||
|
Loading…
Reference in New Issue
Block a user