diff options
author | Eric Christopher <echristo@gmail.com> | 2015-08-28 02:13:58 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-08-28 02:13:58 +0000 |
commit | ef1e295a8c15c5f446b6defad1142d14cd705394 (patch) | |
tree | d2ebd5768e20487d97da20a608574fdbdebee482 /clang/lib/CodeGen | |
parent | f9c19da03a2f56da38a05ad6c126da49c1fafd58 (diff) | |
download | bcm5719-llvm-ef1e295a8c15c5f446b6defad1142d14cd705394.tar.gz bcm5719-llvm-ef1e295a8c15c5f446b6defad1142d14cd705394.zip |
Merge the two feature map setting functions into a single function
and replace all callers.
llvm-svn: 246259
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index d5997e51180..fac25168631 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -1538,8 +1538,7 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI, // the default or a new one from the target attribute string. Then we'll // use the passed in features (FeaturesAsWritten) along with the new ones // from the attribute. - getTarget().initDefaultFeatures(FeatureMap, TargetCPU); - getTarget().handleUserFeatures(FeatureMap, FnFeatures, Diags); + getTarget().initFeatureMap(FeatureMap, Diags, TargetCPU, FnFeatures); // Produce the canonical string for this set of features. std::vector<std::string> Features; |