Commit 544e1df1 authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

s390: fix clang error on exit destructor

R=joransiu@ca.ibm.com

Change-Id: Ie5d47a3c0bc132ddf01910e0b16fd550d769e1bd
Reviewed-on: https://chromium-review.googlesource.com/c/1276866Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#56578}
parent 4dc8ce93
...@@ -63,10 +63,11 @@ static unsigned CpuFeaturesImpliedByCompiler() { ...@@ -63,10 +63,11 @@ static unsigned CpuFeaturesImpliedByCompiler() {
} }
static bool supportsCPUFeature(const char* feature) { static bool supportsCPUFeature(const char* feature) {
static std::set<std::string> features; static std::set<std::string>& features = *new std::set<std::string>();
static std::set<std::string> all_available_features = { static std::set<std::string>& all_available_features =
"iesan3", "zarch", "stfle", "msa", "ldisp", "eimm", *new std::set<std::string>({"iesan3", "zarch", "stfle", "msa", "ldisp",
"dfp", "etf3eh", "highgprs", "te", "vx"}; "eimm", "dfp", "etf3eh", "highgprs", "te",
"vx"});
if (features.empty()) { if (features.empty()) {
#if V8_HOST_ARCH_S390 #if V8_HOST_ARCH_S390
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment