Remove a few unneeded V8_CC_MSVC checks [v8/v8 : main]

0 views
Skip to first unread message

Nico Weber (Gerrit)

unread,
Jan 11, 2026, 7:41:43 PM (yesterday) Jan 11
to Nico Weber, Jakob Kummerow, V8 LUCI CQ, hongcha...@chromium.org, rtoy+...@chromium.org, v8-re...@googlegroups.com
Attention needed from Jakob Kummerow

Nico Weber voted and added 1 comment

Votes added by Nico Weber

Auto-Submit+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Nico Weber . resolved

There's probably more :)

Open in Gerrit

Related details

Attention is currently required from:
  • Jakob Kummerow
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: I0c0e69fbc93906c94e256e3654b8e3663910a82b
Gerrit-Change-Number: 7446862
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Weber <tha...@chromium.org>
Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 00:41:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Nico Weber (Gerrit)

unread,
Jan 11, 2026, 7:42:14 PM (yesterday) Jan 11
to Nico Weber, Nico Hartmann, Jakob Kummerow, V8 LUCI CQ, hongcha...@chromium.org, rtoy+...@chromium.org, v8-re...@googlegroups.com
Attention needed from Jakob Kummerow and Nico Hartmann

Nico Weber voted and added 1 comment

Votes added by Nico Weber

Auto-Submit+0

1 comment

Patchset-level comments
Nico Weber . resolved

+nicohartmann for src/base

Open in Gerrit

Related details

Attention is currently required from:
  • Jakob Kummerow
  • Nico Hartmann
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: I0c0e69fbc93906c94e256e3654b8e3663910a82b
Gerrit-Change-Number: 7446862
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Weber <tha...@chromium.org>
Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Reviewer: Nico Hartmann <nicoha...@chromium.org>
Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
Gerrit-Attention: Nico Hartmann <nicoha...@chromium.org>
Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 00:42:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Nico Hartmann (Gerrit)

unread,
3:26 AM (19 hours ago) 3:26 AM
to Nico Weber, Jakob Kummerow, V8 LUCI CQ, hongcha...@chromium.org, rtoy+...@chromium.org, v8-re...@googlegroups.com
Attention needed from Jakob Kummerow and Nico Weber

Nico Hartmann voted and added 2 comments

Votes added by Nico Hartmann

Code-Review+1

2 comments

Patchset-level comments
Nico Hartmann . resolved

LGTM % comment

File src/objects/tagged-field.h
Line 99, Patchset 1 (Parent):// FLEXIBLE_ARRAY_MEMBER(T, name) represents a marker for a variable-sized
// suffix of members for a type.
//
// It behaves as if it were the last member of a class, and creates an accessor
// for `T* name()`.
//
// This macro is used instead of the C99 flexible array member syntax, because
//
// a) That syntax is only in C++ as an extension,
// b) On all our major compilers, it doesn't allow the class to have
// subclasses (which means it doesn't work for e.g. TaggedArrayBase or
// BigIntBase),
// c) The similar zero-length array extension _also_ doesn't allow subclasses
// on some compilers (specifically, MSVC).
//
// On compilers that do support zero length arrays (i.e. not MSVC), we use one
// of these instead of `this` pointer fiddling. This gives LLVM better
// information for optimization, and gives us the warnings we'd want to have
// (e.g. only allowing one FAM in a class, ensuring that OFFSET_OF_DATA_START is
// only used on classes with a FAM) on clang -- the MSVC version then doesn't
// check the same constraints, and relies on the code being equivalent enough.
Nico Hartmann . unresolved

We should keep most of this comment

Open in Gerrit

Related details

Attention is currently required from:
  • Jakob Kummerow
  • Nico Weber
Submit Requirements:
  • requirement 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: I0c0e69fbc93906c94e256e3654b8e3663910a82b
Gerrit-Change-Number: 7446862
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Weber <tha...@chromium.org>
Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Reviewer: Nico Hartmann <nicoha...@chromium.org>
Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
Gerrit-Attention: Nico Weber <tha...@chromium.org>
Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 08:26:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jakob Kummerow (Gerrit)

unread,
4:38 AM (17 hours ago) 4:38 AM
to Nico Weber, Jakob Kummerow, Nico Hartmann, V8 LUCI CQ, hongcha...@chromium.org, rtoy+...@chromium.org, v8-re...@googlegroups.com
Attention needed from Nico Weber

Jakob Kummerow voted and added 1 comment

Votes added by Jakob Kummerow

Code-Review+1

1 comment

Patchset-level comments
Jakob Kummerow . resolved

LGTM % Nico's comment.

Open in Gerrit

Related details

Attention is currently required from:
  • Nico Weber
Submit Requirements:
  • requirement 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: I0c0e69fbc93906c94e256e3654b8e3663910a82b
Gerrit-Change-Number: 7446862
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Weber <tha...@chromium.org>
Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Reviewer: Nico Hartmann <nicoha...@chromium.org>
Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
Gerrit-Attention: Nico Weber <tha...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 09:38:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Nico Weber (Gerrit)

unread,
1:33 PM (9 hours ago) 1:33 PM
to Nico Weber, Jakob Kummerow, Nico Hartmann, V8 LUCI CQ, hongcha...@chromium.org, rtoy+...@chromium.org, v8-re...@googlegroups.com

Nico Weber voted and added 2 comments

Votes added by Nico Weber

Auto-Submit+1

2 comments

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Nico Weber . resolved

Thanks!

File src/objects/tagged-field.h
Line 99, Patchset 1 (Parent):// FLEXIBLE_ARRAY_MEMBER(T, name) represents a marker for a variable-sized
// suffix of members for a type.
//
// It behaves as if it were the last member of a class, and creates an accessor
// for `T* name()`.
//
// This macro is used instead of the C99 flexible array member syntax, because
//
// a) That syntax is only in C++ as an extension,
// b) On all our major compilers, it doesn't allow the class to have
// subclasses (which means it doesn't work for e.g. TaggedArrayBase or
// BigIntBase),
// c) The similar zero-length array extension _also_ doesn't allow subclasses
// on some compilers (specifically, MSVC).
//
// On compilers that do support zero length arrays (i.e. not MSVC), we use one
// of these instead of `this` pointer fiddling. This gives LLVM better
// information for optimization, and gives us the warnings we'd want to have
// (e.g. only allowing one FAM in a class, ensuring that OFFSET_OF_DATA_START is
// only used on classes with a FAM) on clang -- the MSVC version then doesn't
// check the same constraints, and relies on the code being equivalent enough.
Nico Hartmann . resolved

We should keep most of this comment

Nico Weber

I put it back with some minor rewording.

Open in Gerrit

Related details

Attention set is empty
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: I0c0e69fbc93906c94e256e3654b8e3663910a82b
    Gerrit-Change-Number: 7446862
    Gerrit-PatchSet: 2
    Gerrit-Owner: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
    Gerrit-Reviewer: Nico Hartmann <nicoha...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 18:33:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Nico Hartmann <nicoha...@chromium.org>
    satisfied_requirement
    open
    diffy

    Nico Weber (Gerrit)

    unread,
    3:22 PM (7 hours ago) 3:22 PM
    to Nico Weber, Jakob Kummerow, Nico Hartmann, V8 LUCI CQ, hongcha...@chromium.org, rtoy+...@chromium.org, v8-re...@googlegroups.com

    Nico Weber voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention set is empty
    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: I0c0e69fbc93906c94e256e3654b8e3663910a82b
    Gerrit-Change-Number: 7446862
    Gerrit-PatchSet: 3
    Gerrit-Owner: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
    Gerrit-Reviewer: Nico Hartmann <nicoha...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 20:22:30 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Nico Weber (Gerrit)

    unread,
    5:06 PM (5 hours ago) 5:06 PM
    to Nico Weber, Jakob Kummerow, Nico Hartmann, V8 LUCI CQ, hongcha...@chromium.org, rtoy+...@chromium.org, v8-re...@googlegroups.com
    Gerrit-Comment-Date: Mon, 12 Jan 2026 22:06:34 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages