summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/src/vm/TypedArrayObject.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/vm/TypedArrayObject.cpp b/js/src/vm/TypedArrayObject.cpp
index 28e4090eb8..4c583f10f8 100644
--- a/js/src/vm/TypedArrayObject.cpp
+++ b/js/src/vm/TypedArrayObject.cpp
@@ -3245,6 +3245,10 @@ js::IsTypedArrayConstructor(HandleValue v, uint32_t type)
return IsNativeFunction(v, Int32Array::class_constructor);
case Scalar::Uint32:
return IsNativeFunction(v, Uint32Array::class_constructor);
+ case Scalar::BigInt64:
+ return IsNativeFunction(v, BigInt64Array::class_constructor);
+ case Scalar::BigUint64:
+ return IsNativeFunction(v, BigUint64Array::class_constructor);
case Scalar::Float32:
return IsNativeFunction(v, Float32Array::class_constructor);
case Scalar::Float64: