mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
rename createX86MCCodeEmitter to more accurately reflect what it creates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95254 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12ce0de462
commit
ce79a25980
@ -49,7 +49,7 @@ FunctionPass *createX87FPRegKillInserterPass();
|
|||||||
FunctionPass *createX86JITCodeEmitterPass(X86TargetMachine &TM,
|
FunctionPass *createX86JITCodeEmitterPass(X86TargetMachine &TM,
|
||||||
JITCodeEmitter &JCE);
|
JITCodeEmitter &JCE);
|
||||||
|
|
||||||
MCCodeEmitter *createX86MCCodeEmitter(const Target &, TargetMachine &TM);
|
MCCodeEmitter *createHeinousX86MCCodeEmitter(const Target &, TargetMachine &TM);
|
||||||
|
|
||||||
/// createX86EmitCodeToMemory - Returns a pass that converts a register
|
/// createX86EmitCodeToMemory - Returns a pass that converts a register
|
||||||
/// allocated function into raw machine code in a dynamically
|
/// allocated function into raw machine code in a dynamically
|
||||||
|
@ -1100,7 +1100,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Ok, now you can look.
|
// Ok, now you can look.
|
||||||
MCCodeEmitter *llvm::createX86MCCodeEmitter(const Target &,
|
MCCodeEmitter *llvm::createHeinousX86MCCodeEmitter(const Target &,
|
||||||
TargetMachine &TM) {
|
TargetMachine &TM) {
|
||||||
return new X86MCCodeEmitter(static_cast<X86TargetMachine&>(TM));
|
return new X86MCCodeEmitter(static_cast<X86TargetMachine&>(TM));
|
||||||
}
|
}
|
||||||
|
@ -48,8 +48,10 @@ extern "C" void LLVMInitializeX86Target() {
|
|||||||
RegisterAsmInfoFn B(TheX86_64Target, createMCAsmInfo);
|
RegisterAsmInfoFn B(TheX86_64Target, createMCAsmInfo);
|
||||||
|
|
||||||
// Register the code emitter.
|
// Register the code emitter.
|
||||||
TargetRegistry::RegisterCodeEmitter(TheX86_32Target, createX86MCCodeEmitter);
|
TargetRegistry::RegisterCodeEmitter(TheX86_32Target,
|
||||||
TargetRegistry::RegisterCodeEmitter(TheX86_64Target, createX86MCCodeEmitter);
|
createHeinousX86MCCodeEmitter);
|
||||||
|
TargetRegistry::RegisterCodeEmitter(TheX86_64Target,
|
||||||
|
createHeinousX86MCCodeEmitter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user