[M] Change in dart/sdk[main]: [vm,dyn_modules] Rename DebugCheck to Noop and use after debugger() c...

0 views
Skip to first unread message

Tess Strickland (Gerrit)

unread,
Feb 12, 2026, 7:12:47 AM (6 days ago) Feb 12
to Alexander Markov, Commit Queue, rev...@dartlang.org, vm-...@dartlang.org
Attention needed from Alexander Markov

Tess Strickland added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Tess Strickland . resolved

Pulling out the Noop rename and the use after debugger() into its own CL as I continue working on the other thing I'm chasing down.

Open in Gerrit

Related details

Attention is currently required from:
  • Alexander Markov
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedCommit-Message-Has-TEST
  • 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: sdk
Gerrit-Branch: main
Gerrit-Change-Id: Ie24bcea0b5aeb9e41d7765f25b1cd123bb2565b4
Gerrit-Change-Number: 480203
Gerrit-PatchSet: 1
Gerrit-Owner: Tess Strickland <sstr...@google.com>
Gerrit-Reviewer: Alexander Markov <alexm...@google.com>
Gerrit-Reviewer: Tess Strickland <sstr...@google.com>
Gerrit-Attention: Alexander Markov <alexm...@google.com>
Gerrit-Comment-Date: Thu, 12 Feb 2026 12:12:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Alexander Markov (Gerrit)

unread,
10:59 AM (10 hours ago) 10:59 AM
to Tess Strickland, Alexander Markov, Commit Queue, rev...@dartlang.org, vm-...@dartlang.org
Attention needed from Tess Strickland

Alexander Markov voted and added 3 comments

Votes added by Alexander Markov

Code-Review+1

3 comments

File pkg/dart2bytecode/lib/bytecode_generator.dart
Line 152, Patchset 1 (Latest): Set<Library> get allLibraries => _allLibraries == null
? _allLibraries = {...libraries, ...extraLoadedLibraries}
: _allLibraries!;
Alexander Markov . unresolved

Nit: `=> (_allLibraries ??= {...libraries, ...extraLoadedLibraries});`

File pkg/dart2bytecode/lib/dbc.dart
Line 28, Patchset 1 (Latest): kNoop,
Alexander Markov . unresolved

Nit: `Nop` is a more standard name for the "no operation" instruction.

Also, please update pkg/dart2bytecode/docs/bytecode.md.

File runtime/vm/constants_kbc.h
Line 54, Patchset 1 (Latest): /* single stepping, Noop is effectively the same and so reuses the id. */ \
Alexander Markov . unresolved

Nit: we don't really need to leave this historical comment here as it doesn't explain the current code. This explanation can be a part of the CL description if you'd like.

Open in Gerrit

Related details

Attention is currently required from:
  • Tess Strickland
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedCommit-Message-Has-TEST
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: Ie24bcea0b5aeb9e41d7765f25b1cd123bb2565b4
Gerrit-Change-Number: 480203
Gerrit-PatchSet: 1
Gerrit-Owner: Tess Strickland <sstr...@google.com>
Gerrit-Reviewer: Alexander Markov <alexm...@google.com>
Gerrit-Reviewer: Tess Strickland <sstr...@google.com>
Gerrit-Attention: Tess Strickland <sstr...@google.com>
Gerrit-Comment-Date: Tue, 17 Feb 2026 15:59:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Alexander Markov (Gerrit)

unread,
11:06 AM (9 hours ago) 11:06 AM
to Tess Strickland, Alexander Markov, Commit Queue, rev...@dartlang.org, vm-...@dartlang.org
Attention needed from Tess Strickland

Alexander Markov added 1 comment

File pkg/dart2bytecode/lib/bytecode_generator.dart
Line 152, Patchset 1 (Latest): Set<Library> get allLibraries => _allLibraries == null
? _allLibraries = {...libraries, ...extraLoadedLibraries}
: _allLibraries!;
Alexander Markov . unresolved

Nit: `=> (_allLibraries ??= {...libraries, ...extraLoadedLibraries});`

Alexander Markov

Actually, `_allLibraries` field and `allLibraries` getter can be replaced with a

```
late final Set<Library> allLibraries = {...libraries, ...extraLoadedLibraries};
```
Open in Gerrit

Related details

Attention is currently required from:
  • Tess Strickland
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedCommit-Message-Has-TEST
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: Ie24bcea0b5aeb9e41d7765f25b1cd123bb2565b4
Gerrit-Change-Number: 480203
Gerrit-PatchSet: 1
Gerrit-Owner: Tess Strickland <sstr...@google.com>
Gerrit-Reviewer: Alexander Markov <alexm...@google.com>
Gerrit-Reviewer: Tess Strickland <sstr...@google.com>
Gerrit-Attention: Tess Strickland <sstr...@google.com>
Gerrit-Comment-Date: Tue, 17 Feb 2026 16:06:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Alexander Markov <alexm...@google.com>
satisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages