mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +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,
|
||||
JITCodeEmitter &JCE);
|
||||
|
||||
MCCodeEmitter *createX86MCCodeEmitter(const Target &, TargetMachine &TM);
|
||||
MCCodeEmitter *createHeinousX86MCCodeEmitter(const Target &, TargetMachine &TM);
|
||||
|
||||
/// createX86EmitCodeToMemory - Returns a pass that converts a register
|
||||
/// allocated function into raw machine code in a dynamically
|
||||
|
@ -1100,7 +1100,7 @@ public:
|
||||
}
|
||||
|
||||
// Ok, now you can look.
|
||||
MCCodeEmitter *llvm::createX86MCCodeEmitter(const Target &,
|
||||
TargetMachine &TM) {
|
||||
MCCodeEmitter *llvm::createHeinousX86MCCodeEmitter(const Target &,
|
||||
TargetMachine &TM) {
|
||||
return new X86MCCodeEmitter(static_cast<X86TargetMachine&>(TM));
|
||||
}
|
||||
|
@ -48,8 +48,10 @@ extern "C" void LLVMInitializeX86Target() {
|
||||
RegisterAsmInfoFn B(TheX86_64Target, createMCAsmInfo);
|
||||
|
||||
// Register the code emitter.
|
||||
TargetRegistry::RegisterCodeEmitter(TheX86_32Target, createX86MCCodeEmitter);
|
||||
TargetRegistry::RegisterCodeEmitter(TheX86_64Target, createX86MCCodeEmitter);
|
||||
TargetRegistry::RegisterCodeEmitter(TheX86_32Target,
|
||||
createHeinousX86MCCodeEmitter);
|
||||
TargetRegistry::RegisterCodeEmitter(TheX86_64Target,
|
||||
createHeinousX86MCCodeEmitter);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user