* Privatize the TargetName

llvm-svn: 4418
This commit is contained in:
Chris Lattner 2002-10-29 21:48:33 +00:00
parent b848956370
commit e72f06b575
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ int main(int argc, char **argv) {
PassManager Passes;
if (Target.addPassesToJITCompile(Passes)) {
std::cerr << argv[0] << ": target '" << Target.TargetName
std::cerr << argv[0] << ": target '" << Target.getName()
<< "' doesn't support JIT compilation!\n";
return 1;
}

View File

@ -283,7 +283,7 @@ main(int argc, char **argv)
// Ask the target to add backend passes as neccesary
if (Target.addPassesToEmitAssembly(Passes, *Out)) {
cerr << argv[0] << ": target '" << Target.TargetName
cerr << argv[0] << ": target '" << Target.getName()
<< " does not support static compilation!\n";
} else {
// Run our queue of passes all at once now, efficiently.