Skip to content

Commit 89fc3e1

Browse files
aamcommit-bot@chromium.org
authored andcommitted
[vm/switchable_call] Refactor SwitchableCallHandler so that resolution is done outside of RunWithStoppedMutators.
The only exception is DoMonomorphicMiss which still resolves "old_target" inside RunWithStoppedMutators. Bug: #36097 Change-Id: I5a199113d8ff3cc9064860b8e385f65642bd740c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150200 Commit-Queue: Alexander Aprelev <[email protected]> Reviewed-by: Martin Kustermann <[email protected]>
1 parent ce90061 commit 89fc3e1

File tree

2 files changed

+283
-153
lines changed

2 files changed

+283
-153
lines changed

runtime/vm/object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6515,7 +6515,7 @@ class Code : public Object {
65156515
friend class MegamorphicCacheTable; // for set_object_pool
65166516
friend class CodePatcher; // for set_instructions
65176517
friend class ProgramVisitor; // for set_instructions
6518-
// So that the RawFunction pointer visitor can determine whether code the
6518+
// So that the FunctionLayout pointer visitor can determine whether code the
65196519
// function points to is optimized.
65206520
friend class FunctionLayout;
65216521
friend class CallSiteResetter;

0 commit comments

Comments
 (0)