* Privatize the TargetName

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4418 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-29 21:48:33 +00:00
parent c56406c236
commit ab0aa7ff99
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.