aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/builtins/array-lastindexof.tq
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/builtins/array-lastindexof.tq')
-rw-r--r--deps/v8/src/builtins/array-lastindexof.tq4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/builtins/array-lastindexof.tq b/deps/v8/src/builtins/array-lastindexof.tq
index d6213157dc..5ebc451e43 100644
--- a/deps/v8/src/builtins/array-lastindexof.tq
+++ b/deps/v8/src/builtins/array-lastindexof.tq
@@ -12,7 +12,7 @@ namespace array_lastindexof {
labels IfHole {
const elements: FixedArray = UnsafeCast<FixedArray>(elements);
const element: Object = elements.objects[index];
- if (element == Hole) goto IfHole;
+ if (element == TheHole) goto IfHole;
return element;
}
@@ -131,7 +131,7 @@ namespace array_lastindexof {
// https://tc39.github.io/ecma262/#sec-array.prototype.lastIndexOf
transitioning javascript builtin ArrayPrototypeLastIndexOf(
- context: Context, receiver: Object, ...arguments): Object {
+ js-implicit context: Context, receiver: Object)(...arguments): Object {
// 1. Let O be ? ToObject(this value).
const object: JSReceiver = ToObject_Inline(context, receiver);