Index: src/js/harmony-atomics.js |
diff --git a/src/js/harmony-atomics.js b/src/js/harmony-atomics.js |
index daeba3f64ff790ae3d06525237afc132d793e7a3..16a4aae69ab3ebd4750b533905de1f60f533d61b 100644 |
--- a/src/js/harmony-atomics.js |
+++ b/src/js/harmony-atomics.js |
@@ -95,13 +95,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(TO_INTEGER(size)); |
} |
@@ -151,7 +144,6 @@ utils.InstallFunctions(Atomics, DONT_ENUM, [ |
"and", AtomicsAndJS, |
"or", AtomicsOrJS, |
"xor", AtomicsXorJS, |
- "exchange", AtomicsExchangeJS, |
"isLockFree", AtomicsIsLockFreeJS, |
"wait", AtomicsWaitJS, |
"wake", AtomicsWakeJS, |