aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/builtins/array-unshift.tq
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/builtins/array-unshift.tq')
-rw-r--r--deps/v8/src/builtins/array-unshift.tq6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/builtins/array-unshift.tq b/deps/v8/src/builtins/array-unshift.tq
index 7d7647427a..b193e751fd 100644
--- a/deps/v8/src/builtins/array-unshift.tq
+++ b/deps/v8/src/builtins/array-unshift.tq
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-namespace array {
+namespace array_unshift {
extern builtin ArrayUnshift(Context, JSFunction, Object, int32);
macro TryFastArrayUnshift(
context: Context, receiver: Object, arguments: constexpr Arguments): never
labels Slow {
const array: FastJSArray = Cast<FastJSArray>(receiver) otherwise Slow;
- EnsureWriteableFastElements(array);
+ array::EnsureWriteableFastElements(array);
const map: Map = array.map;
if (!IsExtensibleMap(map)) goto Slow;
@@ -36,7 +36,7 @@ namespace array {
if (argCount > 0) {
// a. If len + argCount > 2**53 - 1, throw a TypeError exception.
if (length + argCount > kMaxSafeInteger) {
- ThrowTypeError(context, kInvalidArrayLength);
+ ThrowTypeError(kInvalidArrayLength);
}
// b. Let k be len.