[for-of-performance] Only check value if done is false [v8/v8 : main]

0 views
Skip to first unread message

Rezvan Mahdavi Hezaveh (Gerrit)

unread,
Feb 20, 2026, 7:31:17 PM (4 days ago) Feb 20
to Marja Hölttä, Leszek Swirski, V8 LUCI CQ, v8-re...@googlegroups.com
Attention needed from Marja Hölttä

Rezvan Mahdavi Hezaveh added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Rezvan Mahdavi Hezaveh . resolved

Marja, as you suggested in a comment on my other CL (https://chromium-review.googlesource.com/c/v8/v8/+/7261252), I split this fix to a new CL and added the tests. Please take a look, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Marja Hölttä
Submit Requirements:
  • requirement is not 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: I8091d56b0e5ecdf013fa8aa9cfc2d65488a92f08
Gerrit-Change-Number: 7597456
Gerrit-PatchSet: 3
Gerrit-Owner: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
Gerrit-Reviewer: Marja Hölttä <ma...@chromium.org>
Gerrit-Reviewer: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
Gerrit-CC: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Marja Hölttä <ma...@chromium.org>
Gerrit-Comment-Date: Sat, 21 Feb 2026 00:31:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Marja Hölttä (Gerrit)

unread,
Feb 23, 2026, 3:34:18 AM (yesterday) Feb 23
to Rezvan Mahdavi Hezaveh, Leszek Swirski, V8 LUCI CQ, v8-re...@googlegroups.com
Attention needed from Rezvan Mahdavi Hezaveh

Marja Hölttä voted and added 3 comments

Votes added by Marja Hölttä

Code-Review+1

3 comments

Patchset-level comments
Marja Hölttä . resolved

lgtm, thanks!

File test/mjsunit/es6/for-of-iterator-protocol-integrity.js
Line 54, Patchset 3 (Latest): for (const x of iterable) { /* NOP */ }
Marja Hölttä . unresolved

Nit: this test could still assert that the loop body runs the correct amount of times (here: 0)

Line 82, Patchset 3 (Latest): for (const x of iterable) { /* x triggers the getter */ }
Marja Hölttä . unresolved

ditto

Open in Gerrit

Related details

Attention is currently required from:
  • Rezvan Mahdavi Hezaveh
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I8091d56b0e5ecdf013fa8aa9cfc2d65488a92f08
    Gerrit-Change-Number: 7597456
    Gerrit-PatchSet: 3
    Gerrit-Owner: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
    Gerrit-Reviewer: Marja Hölttä <ma...@chromium.org>
    Gerrit-Reviewer: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
    Gerrit-CC: Leszek Swirski <les...@chromium.org>
    Gerrit-Attention: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
    Gerrit-Comment-Date: Mon, 23 Feb 2026 08:34:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Rezvan Mahdavi Hezaveh (Gerrit)

    unread,
    Feb 23, 2026, 1:37:14 PM (19 hours ago) Feb 23
    to Marja Hölttä, Leszek Swirski, V8 LUCI CQ, v8-re...@googlegroups.com

    Rezvan Mahdavi Hezaveh added 2 comments

    File test/mjsunit/es6/for-of-iterator-protocol-integrity.js
    Line 54, Patchset 3: for (const x of iterable) { /* NOP */ }
    Marja Hölttä . resolved

    Nit: this test could still assert that the loop body runs the correct amount of times (here: 0)

    Rezvan Mahdavi Hezaveh

    Done

    Line 82, Patchset 3: for (const x of iterable) { /* x triggers the getter */ }
    Marja Hölttä . resolved

    ditto

    Rezvan Mahdavi Hezaveh

    Done

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
      • requirement is not 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: I8091d56b0e5ecdf013fa8aa9cfc2d65488a92f08
      Gerrit-Change-Number: 7597456
      Gerrit-PatchSet: 4
      Gerrit-Owner: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
      Gerrit-Reviewer: Marja Hölttä <ma...@chromium.org>
      Gerrit-Reviewer: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
      Gerrit-CC: Leszek Swirski <les...@chromium.org>
      Gerrit-Comment-Date: Mon, 23 Feb 2026 18:37:10 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Marja Hölttä <ma...@chromium.org>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Rezvan Mahdavi Hezaveh (Gerrit)

      unread,
      Feb 23, 2026, 1:38:05 PM (19 hours ago) Feb 23
      to Leszek Swirski, Marja Hölttä, V8 LUCI CQ, v8-re...@googlegroups.com
      Attention needed from Leszek Swirski

      Rezvan Mahdavi Hezaveh added 1 comment

      Rezvan Mahdavi Hezaveh . resolved

      Leszek, I need your review as an owner of code-stub-assembler. PTAL, thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Leszek Swirski
      Submit Requirements:
      • requirement is not 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: I8091d56b0e5ecdf013fa8aa9cfc2d65488a92f08
      Gerrit-Change-Number: 7597456
      Gerrit-PatchSet: 4
      Gerrit-Owner: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
      Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Marja Hölttä <ma...@chromium.org>
      Gerrit-Reviewer: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
      Gerrit-Attention: Leszek Swirski <les...@chromium.org>
      Gerrit-Comment-Date: Mon, 23 Feb 2026 18:38:01 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Leszek Swirski (Gerrit)

      unread,
      3:11 AM (6 hours ago) 3:11 AM
      to Rezvan Mahdavi Hezaveh, Marja Hölttä, V8 LUCI CQ, v8-re...@googlegroups.com
      Attention needed from Rezvan Mahdavi Hezaveh

      Leszek Swirski voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Rezvan Mahdavi Hezaveh
      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: I8091d56b0e5ecdf013fa8aa9cfc2d65488a92f08
      Gerrit-Change-Number: 7597456
      Gerrit-PatchSet: 4
      Gerrit-Owner: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
      Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Marja Hölttä <ma...@chromium.org>
      Gerrit-Reviewer: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
      Gerrit-Attention: Rezvan Mahdavi Hezaveh <rez...@chromium.org>
      Gerrit-Comment-Date: Tue, 24 Feb 2026 08:11:53 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages