summaryrefslogtreecommitdiffstats
path: root/js/src/vm/Runtime.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-12 03:36:54 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-12 03:38:40 +0200
commit284b4cffd7a7ccc311b64744d46b29e219eb132a (patch)
tree3cecbed282fa484fa17ede00e32df0f24bb80e2a /js/src/vm/Runtime.cpp
parent19c0f5e9ff625c6a67e5e0a08f0a800782168492 (diff)
downloadUXP-284b4cffd7a7ccc311b64744d46b29e219eb132a.tar
UXP-284b4cffd7a7ccc311b64744d46b29e219eb132a.tar.gz
UXP-284b4cffd7a7ccc311b64744d46b29e219eb132a.tar.lz
UXP-284b4cffd7a7ccc311b64744d46b29e219eb132a.tar.xz
UXP-284b4cffd7a7ccc311b64744d46b29e219eb132a.zip
Add Atomics.notify instead of Atomics.wake according to revised spec.
- Keep .wake as an alias until we're certain it can be removed. - Enable SAB memory
Diffstat (limited to 'js/src/vm/Runtime.cpp')
-rw-r--r--js/src/vm/Runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/Runtime.cpp b/js/src/vm/Runtime.cpp
index 8eb997c71..5fc8e0e17 100644
--- a/js/src/vm/Runtime.cpp
+++ b/js/src/vm/Runtime.cpp
@@ -589,7 +589,7 @@ JSRuntime::requestInterrupt(InterruptMode mode)
// Atomics.wait().
fx.lock();
if (fx.isWaiting())
- fx.wake(FutexRuntime::WakeForJSInterrupt);
+ fx.notify(FutexRuntime::NotifyForJSInterrupt);
fx.unlock();
InterruptRunningJitCode(this);
}