mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 05:31:06 +00:00
Updates to match misha's changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fce1143bcf
commit
0c68e8ce6e
@ -7,11 +7,11 @@
|
|||||||
#include "llvm/CodeGen/MachineCodeForBasicBlock.h"
|
#include "llvm/CodeGen/MachineCodeForBasicBlock.h"
|
||||||
|
|
||||||
AnnotationID MCFBB_AID(
|
AnnotationID MCFBB_AID(
|
||||||
AnnotationManager::getID("CodeGen::MachineCodeForBasicBlock"));
|
AnnotationManager::getID("CodeGen::MachineBasicBlock"));
|
||||||
|
|
||||||
static Annotation *CreateMCFBB(AnnotationID AID, const Annotable *, void *) {
|
static Annotation *CreateMCFBB(AnnotationID AID, const Annotable *, void *) {
|
||||||
assert(AID == MCFBB_AID);
|
assert(AID == MCFBB_AID);
|
||||||
return new MachineCodeForBasicBlock(); // Invoke constructor!
|
return new MachineBasicBlock(); // Invoke constructor!
|
||||||
}
|
}
|
||||||
|
|
||||||
// Register the annotation with the annotation factory
|
// Register the annotation with the annotation factory
|
||||||
@ -22,7 +22,7 @@ static struct MCFBBInitializer {
|
|||||||
} RegisterCreateMCFBB;
|
} RegisterCreateMCFBB;
|
||||||
|
|
||||||
|
|
||||||
MachineCodeForBasicBlock::MachineCodeForBasicBlock()
|
MachineBasicBlock::MachineBasicBlock()
|
||||||
: Annotation(MCFBB_AID)
|
: Annotation(MCFBB_AID)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user