Index: src/js/harmony-atomics.js |
diff --git a/src/js/harmony-atomics.js b/src/js/harmony-atomics.js |
index 71125a96806129173138bac5c721c938848924f3..b861a2a47188c498fa202ef085c1013fa49bc17f 100644 |
--- a/src/js/harmony-atomics.js |
+++ b/src/js/harmony-atomics.js |
@@ -32,7 +32,7 @@ function CheckSharedIntegerTypedArray(ia) { |
function CheckSharedInteger32TypedArray(ia) { |
CheckSharedIntegerTypedArray(ia); |
- if (%_ClassOf(ia) !== 'Int32Array') { |
+ if (!%IsSharedInteger32TypedArray(ia)) { |
throw MakeTypeError(kNotInt32SharedTypedArray, ia); |
} |
} |