mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
eliminate use of TM.getName()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30068 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -67,8 +67,7 @@ JIT::JIT(ModuleProvider *MP, TargetMachine &tm, TargetJITInfo &tji)
|
|||||||
// Turn the machine code intermediate representation into bytes in memory that
|
// Turn the machine code intermediate representation into bytes in memory that
|
||||||
// may be executed.
|
// may be executed.
|
||||||
if (TM.addPassesToEmitMachineCode(PM, *MCE)) {
|
if (TM.addPassesToEmitMachineCode(PM, *MCE)) {
|
||||||
std::cerr << "Target '" << TM.getName()
|
std::cerr << "Target does not support machine code emission!\n";
|
||||||
<< "' doesn't support machine code emission!\n";
|
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user