[superspread] Various fixes when accessing elements [v8/v8 : main]

0 views
Skip to first unread message

Olivier Flückiger (Gerrit)

unread,
Mar 9, 2026, 4:25:51 PMMar 9
to V8 LUCI CQ, Toon Verwaest, v8-re...@googlegroups.com
Attention needed from Toon Verwaest

Olivier Flückiger voted and added 2 comments

Votes added by Olivier Flückiger

Auto-Submit+1
Commit-Queue+1

2 comments

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Olivier Flückiger . resolved

ptal again. this changed quite a bit. after fixing the tests I had to basically fix everything...

File src/builtins/builtins-array.cc
Line 559, Patchset 2: return isolate->factory()->undefined_value();
Toon Verwaest . resolved

If we need to handle holes we probably need to handle what's behind the hole?

Olivier Flückiger

As discussed offline that part was actually correct as we only end up here if the array is "clean". Everything else was broken though 😭

Open in Gerrit

Related details

Attention is currently required from:
  • Toon Verwaest
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I224b48a3c623749e267586b3603aaf5df786bbed
Gerrit-Change-Number: 7649109
Gerrit-PatchSet: 7
Gerrit-Owner: Olivier Flückiger <ol...@chromium.org>
Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
Gerrit-Reviewer: Toon Verwaest <verw...@chromium.org>
Gerrit-Attention: Toon Verwaest <verw...@chromium.org>
Gerrit-Comment-Date: Mon, 09 Mar 2026 20:25:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Toon Verwaest <verw...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Toon Verwaest (Gerrit)

unread,
Mar 10, 2026, 12:29:44 PMMar 10
to Olivier Flückiger, V8 LUCI CQ, v8-re...@googlegroups.com
Attention needed from Olivier Flückiger

Toon Verwaest voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Olivier Flückiger
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I224b48a3c623749e267586b3603aaf5df786bbed
Gerrit-Change-Number: 7649109
Gerrit-PatchSet: 8
Gerrit-Owner: Olivier Flückiger <ol...@chromium.org>
Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
Gerrit-Reviewer: Toon Verwaest <verw...@chromium.org>
Gerrit-Attention: Olivier Flückiger <ol...@chromium.org>
Gerrit-Comment-Date: Tue, 10 Mar 2026 16:29:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

V8 LUCI CQ (Gerrit)

unread,
Mar 10, 2026, 12:31:23 PMMar 10
to Olivier Flückiger, Toon Verwaest, v8-re...@googlegroups.com

V8 LUCI CQ submitted the change

Change information

Commit message:
[superspread] Various fixes when accessing elements

Fixes when accessing the arguments:
* off-by-one access of the arglist
* reverseing of non-arglist arguments
* converting holes

We also fix the tests which previously didn't surface errors and
ran the same tests multiple times. This allows us to enable the test
in debug mode again.
Fixed: 488404930
Change-Id: I224b48a3c623749e267586b3603aaf5df786bbed
Commit-Queue: Toon Verwaest <verw...@chromium.org>
Auto-Submit: Olivier Flückiger <ol...@chromium.org>
Reviewed-by: Toon Verwaest <verw...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#105708}
Files:
  • M src/builtins/arm64/builtins-arm64.cc
  • M src/builtins/builtins-array.cc
  • M src/builtins/superspread.h
  • M src/builtins/x64/builtins-x64.cc
  • M test/mjsunit/arbitrary-length-varargs.js
  • M test/mjsunit/mjsunit.status
Change size: M
Delta: 6 files changed, 40 insertions(+), 24 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Toon Verwaest
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I224b48a3c623749e267586b3603aaf5df786bbed
Gerrit-Change-Number: 7649109
Gerrit-PatchSet: 9
Gerrit-Owner: Olivier Flückiger <ol...@chromium.org>
Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
Gerrit-Reviewer: Toon Verwaest <verw...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages