diff options
Diffstat (limited to 'clang/lib/Basic/Targets/WebAssembly.cpp')
| -rw-r--r-- | clang/lib/Basic/Targets/WebAssembly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Targets/WebAssembly.cpp b/clang/lib/Basic/Targets/WebAssembly.cpp index 5a000314a72c..1e565f0a5319 100644 --- a/clang/lib/Basic/Targets/WebAssembly.cpp +++ b/clang/lib/Basic/Targets/WebAssembly.cpp @@ -153,6 +153,7 @@ bool WebAssemblyTargetInfo::initFeatureMap( auto addGenericFeatures = [&]() { Features["multivalue"] = true; Features["mutable-globals"] = true; + Features["reference-types"] = true; Features["sign-ext"] = true; }; auto addBleedingEdgeFeatures = [&]() { @@ -164,7 +165,6 @@ bool WebAssemblyTargetInfo::initFeatureMap( Features["half-precision"] = true; Features["multimemory"] = true; Features["nontrapping-fptoint"] = true; - Features["reference-types"] = true; Features["tail-call"] = true; setSIMDLevel(Features, RelaxedSIMD, true); }; |
