dart-sdk/tests/language/call
Tess Strickland d06d627c79 [vm] Remove --[no-]lazy-dispatchers flag.
No client of the VM uses this flag, only tests, and this flag was always
set to false in AOT mode. Thus, remove uses of this flag and instead
always lazily create dispatchers as needed when resolving method names
in JIT mode.

Remove the implicit value of `allow_add` for some Resolver
static methods. For callers that previously depended on the implicit
`true` value (which includes the AOT precompilier), pass `true` for
uses in the compiler and pass `!FLAG_precompiled_mode` for uses in the
runtime. Assert that `allow_add` is false when these methods are invoked
from the precompiled runtime.

Remove Resolver static methods that are no longer used.

TEST=ci

Change-Id: Ib6a7354f7a859e86743c381513a4129c14895753
Cq-Include-Trybots: luci.dart.try:vm-linux-debug-x64-try,vm-linux-release-x64-try,vm-aot-linux-debug-x64-try,vm-aot-linux-release-x64-try,vm-aot-mac-release-arm64-try,vm-mac-debug-arm64-try,vm-mac-release-arm64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366668
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2024-06-06 10:56:12 +00:00
..
argument_inference_test.dart
call_test.dart
closurization_test.dart [vm] Remove --[no-]lazy-dispatchers flag. 2024-06-06 10:56:12 +00:00
constructor_on_unresolvable_class_error_test.dart
dynamic_call_through_getter_test.dart
evaluation_order_lib.dart
evaluation_order_test.dart
function2_test.dart
function_apply_test.dart
function_test.dart
implicit_tearoff_assignment_test.dart
implicit_tearoff_error_test.dart
implicit_tearoff_exceptions_test.dart
implicit_tearoff_local_assignment_test.dart
implicit_tearoff_test.dart
implicit_tearoff_type_variable_error_test.dart
implicit_tearoff_type_variable_test.dart
method_as_cast_test.dart
method_function_typed_value_test.dart
method_implicit_invoke_instance_test.dart
method_implicit_invoke_local_runtime_1_test.dart
method_implicit_invoke_local_runtime_2_test.dart
method_implicit_invoke_local_runtime_3_test.dart
method_implicit_invoke_local_runtime_4_test.dart
method_implicit_invoke_local_runtime_test.dart
method_implicit_invoke_local_test.dart
method_implicit_invoke_static_test.dart
method_implicit_invoke_top_level_test.dart
method_implicit_tear_off_assignable_test.dart
method_implicit_tear_off_nullable_test.dart
method_implicit_tear_off_test.dart
method_is_check_test.dart
method_must_not_be_field_test.dart
method_must_not_be_getter_test.dart
method_override_error_test.dart
non_method_field_error_test.dart
nonexistent_constructor_error_test.dart
nonexistent_static_test.dart
object_has_no_call_method_error_test.dart
operator_test.dart
property_test.dart
through_getter_runtime_test.dart
through_getter_test.dart
through_null_getter_test.dart
type_literal_test.dart
with_no_such_method_test.dart