Index: src/js/harmony-atomics.js |
diff --git a/src/js/harmony-atomics.js b/src/js/harmony-atomics.js |
index bfbf0c505e54bab3ff298f370de8d54c903114af..4b34e1222c182414124adbd1947f90b75408b96d 100644 |
--- a/src/js/harmony-atomics.js |
+++ b/src/js/harmony-atomics.js |
@@ -93,13 +93,6 @@ function AtomicsXorJS(ia, index, value) { |
return %_AtomicsXor(ia, index, value); |
} |
-function AtomicsExchangeJS(ia, index, value) { |
- CheckSharedIntegerTypedArray(ia); |
- index = ValidateIndex(index, %_TypedArrayGetLength(ia)); |
- value = TO_NUMBER(value); |
- return %_AtomicsExchange(ia, index, value); |
-} |
- |
function AtomicsIsLockFreeJS(size) { |
return %_AtomicsIsLockFree(size); |
} |
@@ -144,7 +137,6 @@ utils.InstallFunctions(Atomics, DONT_ENUM, [ |
"and", AtomicsAndJS, |
"or", AtomicsOrJS, |
"xor", AtomicsXorJS, |
- "exchange", AtomicsExchangeJS, |
"isLockFree", AtomicsIsLockFreeJS, |
"wait", AtomicsWaitJS, |
"wake", AtomicsWakeJS, |