Commit graph

86466 commits

Author SHA1 Message Date
Ryan Macnak f9e833416e [vm, ffi] Fail more gracefully when attempting to use FFI on a simulator.
TEST=ci
Bug: https://github.com/dart-lang/sdk/issues/48846
Bug: https://github.com/dart-lang/sdk/issues/49472
Change-Id: I9083d1c4e2ff633d22747f80ce1fed970e2f771a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251849
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2022-07-25 19:29:09 +00:00
Nicholas Shahan 901d01a45c [ddc] Fix the use of the wrong null literal
This code should be using a `LiteralNull` from the JS AST but was
accidentally using the `NullLiteral` from the Kernel AST.

Add a test to trigger this code path in the expression compiler
because there must not be a source location for the code being
compiled.

Add a retry duration for getting a chrome tab in the test suite.
This fixes a failure I was seeing when I run the test locally.

Change-Id: I6900ace6280f1105c77ccafce4f47d0fc5771d6b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252540
Reviewed-by: Anna Gringauze <annagrin@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2022-07-25 19:22:49 +00:00
Danny Tuppeny 38dc6e7dc8 [dds] [dap] Ensure debug adapter shuts down on clean termination
Change-Id: I1baa77dd933a49c1df435ccc31eb6cf8995e3ff3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252660
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2022-07-25 19:18:49 +00:00
Daco Harkes f9722142ee Revert "[cfe/ffi] Improve FFI call mismatched types compile errors"
This reverts commit 206fdf148c.

Reason for revert: Flutter issues are caught by this CL, preventing
Flutter from building.
https://github.com/flutter/flutter/issues/108309

Original change's description:
> [cfe/ffi] Improve FFI call mismatched types compile errors
>
> This CL fixes two issues.
>
> 1. `FfiNative`s now check the Dart and native type for compatiblity.
> 2. Both `FfiNative`, `asFunction`, and `lookupFunction` check the type
>    correspondence between native and Dart type with a subtype check of
>    the expected Dart type and the provided Dart type. For functions,
>    any return type is a subtype of a void type. This is fine for Dart,
>    but not for native calls. This CL manually checks the return type
>    for void.
>
> This CL does not fix the inconsistency between `asFunction` and
> `FfiNative` with regard to allowing more strict return types than
> `Object` for `Handle`s
> Issue: https://github.com/dart-lang/sdk/issues/49518
>
> Analyzer fixes in follow up CL.
>
> TEST=tests/ffi/vmspecific_static_checks_ffinative_test.dart
>
> Closes: https://github.com/dart-lang/sdk/issues/49471
> Change-Id: Ibc7bd6a1a0db59cc5fa5d755d76999fd7e9a06a4
> Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try,analyzer-mac-release-try,vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64c-try
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252601
> Reviewed-by: Martin Kustermann <kustermann@google.com>
> Commit-Queue: Daco Harkes <dacoharkes@google.com>

TBR=kustermann@google.com,dacoharkes@google.com

Change-Id: Id82b129d491adcc94cdd685a0a0f6a43248c71f2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Issue: https://github.com/dart-lang/sdk/issues/49518
Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try,analyzer-mac-release-try,vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64c-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252662
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-07-25 18:18:29 +00:00
Ryan Macnak 1ab217ac40 Reland "[vm] Forward dynamic events names to os_signposts as arguments."
Assume the embedder provides static strings for event labels.

TEST=Instruments
Bug: https://github.com/dart-lang/sdk/issues/49178
Change-Id: I40aa4996fed2b1230da64d182e6f172f60480fdf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251145
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2022-07-25 17:42:49 +00:00
Joshua Litt d8d8403a90 [dart2wasm] Trivial fix for visitThis in closures.
Change-Id: I4eda2430adb89d328dcec8b18e7acf1652f86c10
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251501
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-25 17:29:59 +00:00
Sam Rawlins 9f8ad7b604 Improve error about members from declarations
Change-Id: I58d2850e9265fbe8b5b7d0e09fa42c105c3cc7e9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/247880
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2022-07-25 17:24:59 +00:00
Joshua Litt e45f73dd6d [dart2wasm] Use VM's bigint implementation.
Change-Id: Ie0cfa40ec4497ee9d6eacff07bc479fe7d74537c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250485
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-25 17:16:29 +00:00
Ryan Macnak 2d00818aef [dartfuzz] Don't try to use FFI on simriscv.
TEST=dartfuzz
Bug: https://github.com/dart-lang/sdk/issues/49472
Change-Id: Ib3dc89b969197a8d27c330dfbcd4029dbf9dd22e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251848
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2022-07-25 16:48:13 +00:00
Brian Wilkerson d0ad41e894 Update an outdated doc comment
Change-Id: I1e4f75fe0e89710358361b33fc62037ae011c13f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252640
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-07-25 16:11:49 +00:00
Brian Wilkerson 9312ba0abc Fix rename_to_camel_case to handle screaming caps
Change-Id: I04564db1c4f47be18949cf16dcf42230db0da6e5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252562
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2022-07-25 16:08:23 +00:00
Ahmed Ashour 296f114d77 [analysis_server] link failing test to an issue
Part of #49514

Change-Id: Ie74a149b998a5901c6f1ad2a389403165167aa83
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252582
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2022-07-25 16:00:19 +00:00
Aske Simon Christensen 6918c02ebe [dart2wasm] Fix parsing of commandline flag options
Change-Id: Iac05ade693c7596fe41c0ba3d37eb7e5d2e5f9fe
Cq-Include-Trybots: luci.dart.try:dart2wasm-linux-x64-d8-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252607
Reviewed-by: Joshua Litt <joshualitt@google.com>
Auto-Submit: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-25 15:39:09 +00:00
Ben Konyi 5ef61ff1e5 [ dart:developer ] Update documentation for Metrics
Fixes https://github.com/dart-lang/sdk/issues/49511

Change-Id: I0dae4709ef34d1dd9cf3c8ccebd295df4565fbc3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252620
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
2022-07-25 15:32:59 +00:00
Ben Konyi 887601b726 [ CLI ] Add better logging to the DartDev isolate
Should make debugging unhandled errors in the CLI easier.

Related issue: https://github.com/flutter/flutter/issues/106753

Change-Id: I6cfc88a52c0af756c0d7a00fc1a2edcf61b86538
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252464
Reviewed-by: Siva Annamalai <asiva@google.com>
Auto-Submit: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2022-07-25 14:44:59 +00:00
Daco Harkes 206fdf148c [cfe/ffi] Improve FFI call mismatched types compile errors
This CL fixes two issues.

1. `FfiNative`s now check the Dart and native type for compatiblity.
2. Both `FfiNative`, `asFunction`, and `lookupFunction` check the type
   correspondence between native and Dart type with a subtype check of
   the expected Dart type and the provided Dart type. For functions,
   any return type is a subtype of a void type. This is fine for Dart,
   but not for native calls. This CL manually checks the return type
   for void.

This CL does not fix the inconsistency between `asFunction` and
`FfiNative` with regard to allowing more strict return types than
`Object` for `Handle`s
Issue: https://github.com/dart-lang/sdk/issues/49518

Analyzer fixes in follow up CL.

TEST=tests/ffi/vmspecific_static_checks_ffinative_test.dart

Closes: https://github.com/dart-lang/sdk/issues/49471
Change-Id: Ibc7bd6a1a0db59cc5fa5d755d76999fd7e9a06a4
Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try,analyzer-mac-release-try,vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64c-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252601
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2022-07-25 14:34:39 +00:00
Alexander Thomas 237ecdb607 [infra] Add missing parenthesis in co19 update scripts
Fixes: https://github.com/dart-lang/sdk/issues/49503
Change-Id: I3e6c0450fcb7c6ff55d2ff1b1607685bb05289e8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252606
Reviewed-by: Erik Ernst <eernst@google.com>
2022-07-25 14:14:59 +00:00
Erik Ernst e1d30e040d [co19] Roll co19 to b76040d28ded4be3cf1e808d609f0cceb8004522
2022-07-25 sgrekhov22@gmail.com Fixes dart-lang/co19#1372. Expected error message text fixed (dart-lang/co19#1373)
2022-07-22 sgrekhov22@gmail.com Fixes dart-lang/co19#1356. Add analyzer errors on references to not included library parts (dart-lang/co19#1360)
2022-07-22 sgrekhov22@gmail.com Fixes dart-lang/co19#1354. Horizontal inference tests added (dart-lang/co19#1358)
2022-07-19 sgrekhov22@gmail.com Fixes dart-lang/co19#1367. Missed errors expectations added for CFE (dart-lang/co19#1371)
2022-07-14 athom@google.com Fix quoting in spec parser command line (dart-lang/co19#1369)
2022-07-14 athom@google.com Ignore deleted files in spec parser action (dart-lang/co19#1368)
2022-07-14 athom@google.com Pin GitHub actions and setup dependabot (dart-lang/co19#1365)

Change-Id: Ib57b9c95b1a50c20a3716383cd6839f65950bac1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252603
Commit-Queue: Erik Ernst <eernst@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2022-07-25 12:52:40 +00:00
Anis Alibegić 40e18905f2 Fixed various typos in a lot of files
Closes https://github.com/dart-lang/sdk/pull/49478

TEST=Manual

GitOrigin-RevId: f4c9c6869dfe73639295e86574a021523b3d374d
Change-Id: I134a97caed4eec59d70e9cbca16b7e9a472cf2c1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251902
Reviewed-by: Michael Thomsen <mit@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Kevin Chisholm <kevinjchisholm@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2022-07-25 12:21:59 +00:00
Tess Strickland 286326f834 [vm/compiler] Add symbols for read-only data when requested.
Symbols for non-clustered objects in the read-only data section are
now added to the static symbol tables for unstripped snapshots and
separate debugging information.

In DEBUG mode, the name for a non-String read-only data object also
includes the name of the parent object.

TEST=vm/dart{,_2}/readonly_data_symbols

Change-Id: I623b023138aeca0580bc76392882eac5686f8f50
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-dwarf-linux-product-x64-try,vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-mac-release-arm64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251104
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2022-07-25 11:03:29 +00:00
Joshua Litt c8728d92e3 [dart2wasm] Switch to package args for command line parsing.
Change-Id: I6ca7846e7dd2f41d4b04dcba1fce8ac8e7b1391f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250481
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-25 02:24:58 +00:00
Konstantin Shcheglov ad004cf922 Update ResolvedAstPrinter._writeTokenList()
Change-Id: I4dc1b4f50b8d3f23aa1015bbcad9f2861b9b78b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252564
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
2022-07-24 18:25:39 +00:00
Brian Wilkerson 56dc3e360a Fix the convert_to_contains fix to remove the second argument
Change-Id: I2da6b71909dd5ecf725714fb51cd075498712c1d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252522
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2022-07-23 14:58:07 +00:00
Joshua Litt f6f29df4b5 [dart2wasm] Enable RTI tests for oddball and interface types.
Change-Id: I4b92d4cf30779b78f3eab1acd18193fdd58ab452
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249641
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-23 00:56:38 +00:00
Joshua Litt a04e69716c [dart2wasm] Fix some missed conversions on _TypedData getters.
Change-Id: Ib246388aa0b48dff2ebf4704633b7ffc79b1b40a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250560
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
2022-07-23 00:06:47 +00:00
IslinaS d6d9924b26 [dart2js] stubbed out to-devtools-format command
Change-Id: I1e39b38c7782d993d3745b209efff47ac817e12b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252408
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Islina Shan <islinashan@google.com>
2022-07-22 21:35:57 +00:00
IslinaS 8d6c44df7d [dart2js] Adding support for packageInfo ProgramInfoNodes
Change-Id: I72d534669835df176fd6e2bfdd041f5e6a4e7bff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252405
Commit-Queue: Islina Shan <islinashan@google.com>
Reviewed-by: Mark Zhou <markzipan@google.com>
2022-07-22 21:34:58 +00:00
Stephen Adams f503281917 [dart2js] Document some dart2js @pragma annotations
Also add `never-inline` and `prefer-inline` aliases.

Change-Id: If5d932e3b86b78b2177abac79ac6c49fb9b8ed6f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252500
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2022-07-22 19:45:07 +00:00
Mayank Patke 92bd9a4604 [dart2js] Clean up inferrer support for indirect dynamic calls.
Change-Id: Ibc2a84e959886b02024847d315a4cbc83885b79a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252407
Commit-Queue: Mayank Patke <fishythefish@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2022-07-22 19:29:47 +00:00
Ryan Macnak 2d13b205d7 Reland "[vm] Generate event ids for synchronous begin and end events."
Fix transposed id and timestamp.

TEST=Instruments, ci
Bug: https://github.com/dart-lang/sdk/issues/49178
Change-Id: I2c2650f28050b179d26e1269729727f58201a8a8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251581
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2022-07-22 19:13:47 +00:00
Joshua Litt a13ef8a5d5 [dart2wasm] Fix the case of an exported main.
Change-Id: Icf6b2b37a30b68f70c191394b6107e39dd060bde
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250561
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-22 18:06:59 +00:00
Joshua Litt 7a937a12c8 [dart2wasm] Fix closure capture of super properties.
Change-Id: I79f4c44da607379191718aba85b4a7a854f472fe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250541
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-22 18:05:30 +00:00
Sigmund Cherem 27a8e17f52 [dart2js] Migrate world builder
Change-Id: I365fec81299e6fe1ee7217f307ff41934fd75067
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252414
Reviewed-by: Nate Biggs <natebiggs@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2022-07-22 17:58:56 +00:00
Sigmund Cherem ec51bf0a9a [dart2js] migrate powerset_bits.dart
Change-Id: I7abd6781a657ea2564ba08e3b7d4e8274ae3939b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252413
Reviewed-by: Nate Biggs <natebiggs@google.com>
2022-07-22 17:58:56 +00:00
Sigmund Cherem 13a6684fe3 [dart2js] Migrate js_backend/codegen_listener.dart
Change-Id: I5cfa5c01c2ca46a8f58270ad9376ce3b8f756c1d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252412
Reviewed-by: Nate Biggs <natebiggs@google.com>
2022-07-22 17:58:56 +00:00
Joshua Litt 5e733dec66 [dart2wasm] Fix minor bug with redirecting initializers.
Change-Id: I747ad702d2189b7c113e9202f77ad19a4b72c14a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250580
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
2022-07-22 17:57:27 +00:00
Nicholas Shahan 8d1ad7d13c [ddc] Refactor _checkAndCall
Move the method body out of one giant JS foreign function and into
Dart code with small JS foreign function calls inside.

The generous use of small JS foreign function calls ensures almost
identical compiled output with the exception of indentation, curly
braces on if statements, and single vs double quote differences.

Issue: https://github.com/dart-lang/sdk/issues/46002
Change-Id: Ice039fd096893e4f8869696ca46651b3d2e88add
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252410
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2022-07-22 16:57:22 +00:00
Konstantin Shcheglov 10707a696c Prepare to publish analyzer 4.3.0 and _fe_analyzer_shared 42.0.0
Change-Id: I59df8579a9e0dac289c25f36330a1d64a9280862
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252521
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2022-07-22 16:35:16 +00:00
Konstantin Shcheglov 218cbeea01 Use files for contextFor() and driverFor() in analyzer tests.
Change-Id: Ib0ba87c6136a3204ce784cf6a8c252fdcb67d509
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252411
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2022-07-22 14:51:56 +00:00
Tess Strickland 27f6c6d660 Reland "[pkg/native_stack_traces] Support Mach-O dSYM debugging information."
This is a reland of commit 08c13f173c

Fixes test failures on non-x64 architectures, both in the test
harness and due to DWARF5 line number program headers having a
non-backwards compatible format. (We generate DWARF2 in the
ELF snapshot writer, but the assembler used for assembly snapshots
may generate DWARF5.)

TEST=vm/dart{,_2}/use_dwarf_stack_traces_flag

Original change's description:
> [pkg/native_stack_traces] Support Mach-O dSYM debugging information.
>
> TEST=vm/dart{,_2}/use_dwarf_stack_traces_flag
>
> Bug: https://github.com/dart-lang/sdk/issues/43612
> Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-dwarf-linux-product-x64-try,vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-mac-product-x64-try,pkg-mac-release-arm64-try,vm-kernel-mac-release-arm64-try,vm-kernel-precomp-nnbd-mac-release-arm64-try
> Change-Id: Icda21bb14dcc0cf4784cea118e6ba7dd4edd35aa
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250381
> Commit-Queue: Tess Strickland <sstrickl@google.com>
> Reviewed-by: Slava Egorov <vegorov@google.com>

Bug: https://github.com/dart-lang/sdk/issues/43612
Change-Id: I8a9cb70e78bc8594bcae004809c5a1be778d691d
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-dwarf-linux-product-x64-try,vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-mac-product-x64-try,pkg-mac-release-arm64-try,vm-kernel-mac-release-arm64-try,vm-kernel-precomp-nnbd-mac-release-arm64-try,vm-kernel-precomp-linux-debug-x64c-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-precomp-linux-release-simarm_x64-try,vm-kernel-precomp-nnbd-mac-release-simarm64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251464
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2022-07-22 07:05:26 +00:00
Konstantin Shcheglov 66c4559ff6 Start using File(s) instead of paths in a few places in tests.
Change-Id: Ib2daad4160377da240fa400655c39030f3fcf5ee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252404
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2022-07-22 01:24:06 +00:00
Joshua Litt a6b15c8f4a [dart2wasm] Handle switch without cases.
Change-Id: Ie2ccdf69e3cf276769b1b2a2e22faa1bb9e089d5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250484
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-22 00:30:16 +00:00
Sigmund Cherem 943ddf4728 [dart2js] migrate native/enqueue to nullsafety
Change-Id: I26f6b262e298f69189844dd33736c65dd344d279
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252406
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Nate Biggs <natebiggs@google.com>
2022-07-22 00:11:36 +00:00
Sigmund Cherem 95f7dfdb71 [dart2js] Migrate deferred_load (take 2)
Change-Id: I7c9fdc16231e9c35a23716d87dafcc2b118b2335
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252403
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Nate Biggs <natebiggs@google.com>
2022-07-22 00:10:06 +00:00
Konstantin Shcheglov 43821f3285 Resolve metadata on AugmentationImportDirective and LibraryAugmentationDirective.
Change-Id: Ie016b6d299ed2a477193819559606c8c245a35bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252461
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-07-21 23:09:19 +00:00
Joshua Litt 047ca385c4 [dart2wasm] Fix infinite loop in createFromCharCodes.
Change-Id: I6d9c92f2b509424c829af4b057c7cebf5a746e00
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250446
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-21 23:04:36 +00:00
Joshua Litt cf51477ad3 [dart2wasm] Add _DuplicatedFieldInitializerError to core for CFE.
Change-Id: I8b3c594d6fb56437c76e819b45c53d3465f0fdc4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250483
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-07-21 23:01:16 +00:00
Ahmed Ashour eefbe1fd14 [analysis_server] add fix for ASSERT_IN_REDIRECTING_CONSTRUCTOR
Fixes #49486

Change-Id: Ic96d2b347578f574eb67b12ef3dbbddcd9c04d2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252080
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2022-07-21 22:16:06 +00:00
Ahmed Ashour a9ba31a5b2 [analysis_server] add fixes for ABSTRACT_FIELD_INITIALIZER
Fixes #49488

Change-Id: I48caabef2c038b95ef88cad903fdead47b91c615
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252081
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2022-07-21 21:30:26 +00:00
Ryan Macnak c36ae576e2 [vm] Add a glossary of terms used by the VM.
Change-Id: Iea8ab0a6d49a1bcfd0835761caf2446af3cb1228
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252280
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2022-07-21 19:45:15 +00:00