From fb663cb7f1de43e1b4308c9fbf386932506ea264 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Thu, 14 May 2020 10:50:28 +0100 Subject: [PATCH] Re-enable exclusivity checking when targeting __wasm__ --- stdlib/public/runtime/Exclusivity.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stdlib/public/runtime/Exclusivity.cpp b/stdlib/public/runtime/Exclusivity.cpp index 5a0d44292e5b3..c2c51f9566d57 100644 --- a/stdlib/public/runtime/Exclusivity.cpp +++ b/stdlib/public/runtime/Exclusivity.cpp @@ -47,11 +47,7 @@ using namespace swift; -#ifdef __wasm__ -bool swift::_swift_disableExclusivityChecking = true; -#else bool swift::_swift_disableExclusivityChecking = false; -#endif static const char *getAccessName(ExclusivityFlags flags) { switch (flags) {