cf9f45f1d4
Transform factory calls to default map and set classes to the constructor calls to the classes to improve kernel. Also remove some redundant null checks in VM's transformer. `source_map_simple_optimized_test.dart` is updated: with improved kernel wasm-opt now eliminates the `testMain` function, so the stack trace doesn't mention it. Fixes https://github.com/dart-lang/sdk/issues/60343. Tested: minor refactoring in VM doesn't need testing. Wasm tested with existing tests. Change-Id: Ie448d1374ff0e1b278859f22bc250899e0e4cfd0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/416640 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.