llvm-svn: 135170
This commit is contained in:
Chris Lattner 2011-07-14 18:45:41 +00:00
parent 1757e7abeb
commit 2dc4b55bd8
1 changed files with 1 additions and 1 deletions

View File

@ -3056,7 +3056,7 @@ TargetInfo *TargetInfo::CreateTargetInfo(Diagnostic &Diags,
for (llvm::StringMap<bool>::const_iterator it = Features.begin(),
ie = Features.end(); it != ie; ++it)
Opts.Features.push_back(std::string(it->second ? "+" : "-") +
llvm::StringRef(it->first()).str());
it->first().str());
Target->HandleTargetFeatures(Opts.Features);
return Target.take();