Index: src/js/harmony-atomics.js |
diff --git a/src/js/harmony-atomics.js b/src/js/harmony-atomics.js |
index bfbf0c505e54bab3ff298f370de8d54c903114af..3017cc1c0bec114da78e94a953f6fc3fa849c33a 100644 |
--- a/src/js/harmony-atomics.js |
+++ b/src/js/harmony-atomics.js |
@@ -101,7 +101,7 @@ function AtomicsExchangeJS(ia, index, value) { |
} |
function AtomicsIsLockFreeJS(size) { |
- return %_AtomicsIsLockFree(size); |
+ return %_AtomicsIsLockFree(TO_INTEGER(size)); |
} |
function AtomicsWaitJS(ia, index, value, timeout) { |