aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-04-09 17:19:03 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-04-09 17:19:03 -0700
commitf1e7a40a73073cf492a7411acc049af0c729fe8a (patch)
treefa53574dc5f21006f7b0119375d5e3da4d01e5a4
parent4f4b57609417ddbc90417b8eeeefb35ba7dc9387 (diff)
set the emscripten backend's atomic widths to 32
-rw-r--r--lib/Basic/Targets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index 45d313b2ed..b56b42c798 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -269,6 +269,7 @@ public:
// handled outside of clang. TODO: Handling this within clang may be
// beneficial.
this->UserLabelPrefix = "";
+ this->MaxAtomicPromoteWidth = this->MaxAtomicInlineWidth = 32;
}
};