eliminate use of TM.getName()

llvm-svn: 30068
This commit is contained in:
Chris Lattner 2006-09-03 18:37:12 +00:00
parent 5328ba96e1
commit ad36544457
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,7 @@ JIT::JIT(ModuleProvider *MP, TargetMachine &tm, TargetJITInfo &tji)
// Turn the machine code intermediate representation into bytes in memory that
// may be executed.
if (TM.addPassesToEmitMachineCode(PM, *MCE)) {
std::cerr << "Target '" << TM.getName()
<< "' doesn't support machine code emission!\n";
std::cerr << "Target does not support machine code emission!\n";
abort();
}
}