Commit graph

84440 commits

Author SHA1 Message Date
Ryan Macnak 22304c3015 [vm, compiler] Fix string allocation in intrinsics on RV32.
The string hash field is expected to be initialized to 0 instead of null. On 64-bit targets, the string hash is in the header instead of a regular field.

TEST=local, fuzzer
Change-Id: Icaf7a32d90a3d57da37b4f1a28643ee34da44091
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237760
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2022-03-21 18:30:48 +00:00
pq ccd9a027c1 linter 1.21.2
Change-Id: I877cbfdcf7302ed830ad8a84f87c4cae62a34fbf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237922
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2022-03-21 18:27:37 +00:00
Sam Rawlins ab22a8dd8c Avoid single cascades, unnecessary interpolations, and exposing private types
* Make `MicroContextObjects` constructor private, which is not used
  outside the library.
* Remove unused `analysisContext2` constructor parameter.
* Make `tryMatchSubtypeOf` private, which requires a parameter of
  private type.
* Make `_FileStateFiles` public, as it is used outside the library.
* Return empty for void-typed functions.

Change-Id: If67a69effdbbaed2eb364788e52eeb60270a0c19
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237855
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2022-03-21 18:12:47 +00:00
Paul Berry fdbd5d8c5d Flow analysis: make executableDeclaration_enter's isClosure parameter named.
No functional change.  This is a minor readability improvement that
I'd like to put in place before doing more work on language issue #731
(Inference should flow information between arguments in a generic
function call).

Bug: https://github.com/dart-lang/language/issues/731
Change-Id: Ia25540cd80762a74ac0d0a4d226a51eda7e09a4e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237920
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2022-03-21 17:33:19 +00:00
Sam Rawlins 9a79d61c36 Do not rename method parameter names in overrides
Change-Id: I8c2f91a56c767c89dc4d0bea22b64dec147870c4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237852
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2022-03-21 17:32:22 +00:00
Konstantin Shcheglov b4d339f9d6 Revert "Run macro types phase."
This reverts commit eb95543629.


Revert "Add the macro unit into 'units' of LibraryBuilder."

This reverts commit 2670218aea.

Change-Id: I7d4964264b8be92cfa98334fde0579eeb989c94b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237960
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-03-21 17:24:19 +00:00
Ryan Macnak 7a597a9e66 [vm] Make [os_]thread_absl.cc compatible with Mac.
Also remove unused functions from dart::bin::Thread.

TEST=ci, cbuild
Change-Id: I670dbf2767662156607cbfbee4c3ba64f1ba7ab1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237765
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2022-03-21 16:47:47 +00:00
Jake Macdonald ded8936d35 Add TypeInferrer interface, this is what macro authors will use to infer real types from OmittedTypeAnnotations.
Bug:https://github.com/dart-lang/language/issues/2154
Change-Id: I00484ddbd09a3c2371b96e540b9926144d80c832
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237844
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
2022-03-21 16:19:47 +00:00
Brian Wilkerson b53a4982fe Extract handlers from EditDomainHandler
Change-Id: Ib6354c6cd3b983c74fcf1f911d788a38a8762bcb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237851
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2022-03-21 16:17:37 +00:00
Johnni Winther 25d4a51b88 [cfe] Rename SynthesizedFunctionNode to DelayedDefaultValueCloner
Change-Id: I549ecbab049f3eadbf5d5020b547943f9947b738
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237821
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2022-03-21 15:53:47 +00:00
Aske Simon Christensen 8d528360a1 [ffi] Fix incorrect kernel type for size in FFI transform.
Tested: Broke FFI implementation in dart2wasm
Change-Id: I45a7a194ea66c960a0fad00d7d5826b614159f7c
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237685
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2022-03-21 14:33:37 +00:00
Jens Johansen b6f03e150e [CFE] Reproduction & fix of crashes found by weekly bot (#83)
Calling "SpecialCasedBinaryOperator" and "SpecialCasedTernaryOperator"
with wrong number of parameters (especially too few) would not go well.
It's now checked and goes a lot better.

Change-Id: Id9606db869f020bbd7264686adaf9521bd263fb9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237900
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2022-03-21 11:41:48 +00:00
Martin Kustermann 04f8303aec [gardening] Run subprocesses in parallel to avoid timeout for vm/dart/analyze_snapshot_binary_test
We also mark the test as slow, since it does many subprocess runs.
This seems to fix debug-x64 runs of this test.

TEST=ci

Change-Id: I98f4ac5810e6241ec08dd523747325c8669560ef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237689
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2022-03-21 10:34:07 +00:00
Jens Johansen e68cf05508 [CFE] Add benchmarking possibility to the incremental compiler
This CL allows the incremental compiler to pass a benchmarker and
perform benchmarking in the same way as is possible via `fasta compile`.
It's enabled by setting an environment variable, on linux this can be
done with

```
export DART_CFE_ENABLE_INCREMENTAL_COMPILER_BENCHMARKING=true
```

on Windows it would likely be something like

```
set DART_CFE_ENABLE_INCREMENTAL_COMPILER_BENCHMARKING=true
```

When set, benchmarking data is recorded and after a `computeDelta`
call the recorded data is printed.

Currently, visualization via the html document requires wrapping of
the output between

```
{"benchmarkers": [
```

and

```
]}
```

Change-Id: I78f1298ebc17c47a172abdf00c48dac388197d3b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237693
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2022-03-21 09:55:38 +00:00
Johnni Winther c4eb880cac [cfe] Rename LibraryBuilder getters to [libraryBuilder]
Change-Id: I13ebe337ee3c032b02c6a4e437762ccc2ddfedde
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237692
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2022-03-21 08:41:37 +00:00
Sam Rawlins a4929aed29 Prefer initializing formals in analyzer
Change-Id: I3bc4c3511bb4c9c1d700710894d57ea22379b0c4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237850
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2022-03-20 22:01:26 +00:00
Stephen Adams f82c8b4fe6 [dart2js] Use trusted types for URLs of deferred loading scripts
Using a trusted type policy for the script elements injected to load
deferred libraries allows a content security policy to be enabled to
prevent untrusted scripts elements from loading code.

TEST=https://dart-review.googlesource.com/c/sdk/+/237638

Change-Id: Ie3505a68d83cb19c7f8bdbefa01df7fc58d9924a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237542
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2022-03-19 20:01:32 +00:00
Stephen Adams 7e677a34bf [vm] Common constant-folding of StaticCalls
TEST=il_test.cc, ConstantFold_bitLength

Change-Id: I13cf413c220e7b7c4db9867aec7716d4abfb0c09
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/233843
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2022-03-19 02:34:22 +00:00
Sam Rawlins 5a3b09720b Migrate nnbd_migration to lints 2.0.0 analysis
* Remove CondtitionalModification; unused.
* Prefer string interpolation
* Prefer for-in over forEach
* Don't expose private types in public API
* A few other small ones

Change-Id: I14b4f1a957907338ae62b5fa980ecb5c1b240496
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237845
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2022-03-19 00:06:21 +00:00
Konstantin Shcheglov 2670218aea Add the macro unit into 'units' of LibraryBuilder.
So, we should resolve references, types in it.
Not tested yet.

Change-Id: I5264d9b9b8dbb6e05188a2dad961fcd7b87cfc98
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237841
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-03-18 23:17:42 +00:00
Elliott Brooks 9f4d5b6e4a Set the cache-control header's max-age value to 0s for DevTools.
This ensures that the `index.html` file (which determines whether to
load the new service worker and therefore invalidate the cache) will
always be fresh.

Bug: https://github.com/flutter/devtools/issues/3896
Change-Id: Ib0b6adda66b7dd926f57724f21c2a7c6284bce60
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237842
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Kenzie Davisson <kenzieschmoll@google.com>
Commit-Queue: Elliott Brooks <elliottbrooks@google.com>
2022-03-18 22:46:02 +00:00
Sam Rawlins 843a31fe45 Prefer string interpolations; other small fixes for lints 2.0.0
Change-Id: Ie66c42ac738adbcf07d0b7c5ccc77e34975008c2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237801
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2022-03-18 22:13:21 +00:00
Clement Skau 2c0ba56ea1 [vm/ffi] Add error for FFI annotation with opt. args.
Optional arguments (positional and named) in @FfiNative
annotations are not meaningful, and should result in a
compile-time error.

TEST=tests/ffi/ffi_native_test.dart
Bug: https://github.com/dart-lang/sdk/issues/47169
Change-Id: I8896e6a43f9399b537e6ee7c7a0e2857a370203f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232622
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Clement Skau <cskau@google.com>
2022-03-18 20:58:51 +00:00
Konstantin Shcheglov eb95543629 Run macro types phase.
The very first version, many improvements to be done later.

Change-Id: If78efba1ab0d06aaea6f3c7525fcd00a39c18459
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237768
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-03-18 20:22:41 +00:00
pq ccb4157309 bump to linter 1.21.1
Fixes: https://github.com/flutter/flutter/issues/100297

Change-Id: I240d8bfd77f48830b91ed80329dc6a2352e1cb8c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237724
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2022-03-18 19:56:21 +00:00
pq dfa6c5f402 update package:lints dep to 2.0.0
See: https://github.com/dart-lang/lints/issues/73.

Change-Id: I553ef8d9226c1c7d43c9594160a115a1abf043c3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/236841
Reviewed-by: Devon Carew <devoncarew@google.com>
Reviewed-by: Michael Thomsen <mit@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2022-03-18 19:55:51 +00:00
Alexander Aprelev 42dedb589f [vm/types] Ensure type arguments canonicalization doesn't race with readers.
Fixes https://github.com/dart-lang/sdk/issues/47140
TEST=ci, stress bot

Change-Id: I0df3eab99754224344da9a18b8b4b2748e45a8b6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237761
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2022-03-18 18:45:27 +00:00
Clement Skau 0d28233e96 Fixes branched out from dart-cl/221624.
This change fixes a bug in the IA32 FG Moves, where any moves
of Int8 and Uint8 from a register other than the first four general
purpose registers would be bogus.
The moves would generate to move the second byte of the first four
GP registers because the other four registers do not have byte
registers.

This change also fixes an issue where X64 byte register moves would
generate incorrect bytecode for otherwise correct instruction prints.
It would for instance print "movb [rsp],rdi", but emit "movb [rsp],bh".

This change also fixes a bug in NativeFpuRegistersLocation::Equals
that cause different FPU regs. to compare equal despite being different
kinds.
This in turn caused moves between these different regs. to be dropped
because they looked like no-ops.

See also:
https://dart-review.googlesource.com/c/sdk/+/221624

TEST=Existing.

Cq-Include-Trybots: luci.dart.try:vm-kernel-linux-debug-ia32-try,vm-kernel-nnbd-win-release-ia32-try
Change-Id: I09e69295c8a522d74f8a8fd817188b4de656c619
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237690
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Clement Skau <cskau@google.com>
2022-03-18 18:15:37 +00:00
Aske Simon Christensen 58cad00468 [dart2wasm] Initialize the function class early.
Subclasses of the _Function class are generated on the fly as fields
with function types are encountered. Therefore, this class must be early
in the initialization order.

Change-Id: Ia0b998c443af9f6bdb4af512f6da99e6e3767c1f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237681
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2022-03-18 17:44:57 +00:00
Keerti Parthasarathy a77ee421d9 Add support for documents symbols to Cider
Change-Id: I0fb225a09b4a4f12ee1440dd94ff3dc2d9363a82
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237748
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Keerti Parthasarathy <keertip@google.com>
2022-03-18 16:53:58 +00:00
pq 5c0d82b3ab bump DEPS to pull in lints v2.0.0
Change-Id: Id0165bb7d37b50382ac85fa2929051435e77f61a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237746
Reviewed-by: Jake Macdonald <jakemac@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2022-03-18 16:35:27 +00:00
Danny Tuppeny 9a49921c6f [analyzer] Don't produce nested LinkedEditGroups
Fixes https://github.com/dart-lang/sdk/issues/48612.

Change-Id: Ibe8e5036420e24a1dc5cc36f93e42eded607eaf5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237820
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2022-03-18 16:08:40 +00:00
Ahmed Ashour c51b09bd4e [analyzer] fix require_trailing_commas for assertions
Fixes #48605

Change-Id: I62b449b326827e6f289d90f96d8d7658d28d0615
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237694
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2022-03-18 15:58:48 +00:00
Jake Macdonald 8d2c630052 add OmittedTypeAnnotation and support in code objects
Bug: https://github.com/dart-lang/language/issues/2154
Change-Id: Ie48d308a822798da22ea38954774e393f81e2e2a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237740
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
2022-03-18 14:30:07 +00:00
Martin Kustermann 873978ccff [gardening] Run subtests in parallel to avoid timeout for lib/isolate/spawn_uri__package_uri__test
Should make this test run within the normal timeout period.

TEST=ci

Change-Id: Ie8048a6cc7c31b193cf326bf9742fad279411b44
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237688
Reviewed-by: Tess Strickland <sstrickl@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2022-03-18 13:27:50 +00:00
Sam Rawlins d5cc53a1b8 Prefer for-loop over forEach; other little fixes
These linter fixes help prepare analyzer for lints 2.0.0

Change-Id: Ic942fa367965edac479b917cbbb601b30da8b53c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237766
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2022-03-18 03:37:47 +00:00
Konstantin Shcheglov e253d467ae Fix for reporting UNUSED_ELEMENT_PARAMETER when used via super-formal.
Change-Id: I334b2b30dd29ae61fb7fbf3bf2af8e68cf969a3b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237767
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-03-18 02:14:38 +00:00
pq d2882856ef lints 2.0 fixes
In anticipation of lints v 2.0.

See: https://dart-review.googlesource.com/c/sdk/+/237746


Change-Id: If6ec7f0bae314af3aa84e4d8a7b9fc1b8219c128
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237763
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2022-03-18 01:42:47 +00:00
Stephen Adams bc1d9b0a2f [dart2js] Test for trusted script URLs
Change-Id: Ib4726fc522756f9a7cc860aaa09c6b0037a85c70
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237638
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2022-03-18 01:09:47 +00:00
Darren Chan 019b6f110b Increase analysis server shutdown timeout.
Fixes https://github.com/dart-lang/sdk/issues/48584.

Tested on infra CQ (see http://tqr/509011 vs http://fxr/659793).

Also logs an error if the server shutdown times out.

Change-Id: Idd126f915c2b00f7331a51f0f3d527452b540a59
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237780
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Auto-Submit: Darren Chan <chandarren@google.com>
Commit-Queue: Darren Chan <chandarren@google.com>
2022-03-18 00:35:07 +00:00
pq 47ac47fe90 lints 2.0 fixes
In anticipation of lints v 2.0.

(Note the ignores -- I was leery of making API changes but happy to with some guidance.)

See: https://dart-review.googlesource.com/c/sdk/+/237746

Change-Id: I93323e912911bbd62a583b379f0f8140a8ca448d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237764
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2022-03-17 23:41:27 +00:00
Ben Konyi b036052077 Reland "[ Service ] Update VM service message to not reference Observatory"
This reverts commit ee5837aa7a.

Updated Intellij plugins have been published which support the new
message.

TEST=CQ

Change-Id: I81f6d878f036991a95cc1f58d3102015e77aa609
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237741
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2022-03-17 23:15:57 +00:00
pq 47a52fc5de lint 2.0 fixes
In anticipation of lints v 2.0.

See: https://dart-review.googlesource.com/c/sdk/+/237746

Change-Id: I42bcdfa43d4707324622b498c57dde6e2fe1f13b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237762
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2022-03-17 23:11:28 +00:00
Paul Berry fd02fec0fc Remove deprecated "SCREAMING CAPS" constants from dart:io.
Fixes #34218.

Bug: https://github.com/dart-lang/sdk/issues/34218
Change-Id: Ibe936dc6ed8951b2a0c53997b7d33bb8c7afe8cd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/236840
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2022-03-17 23:00:57 +00:00
Brian Wilkerson ef00a01289 Remove an unused parameter from one of the test classes
Change-Id: I66b66816c8fec84bfdec6eafc8ce17f71361b879
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237743
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-03-17 22:24:37 +00:00
Danny Tuppeny 02d9c3e6a5 [dds] Improve suppression of auto-resuming threads when attaching to processes
Hopefully fixes https://github.com/dart-lang/sdk/issues/48274.

Change-Id: I893a1f5dee54410986644a52b7c2bb406d4e51f3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237683
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2022-03-17 19:07:36 +00:00
Joshua Litt c2a63d7cc8 [dart2js] Add a 'modular analysis' phase.
Change-Id: Idda666911a15e1726a15db65eb0cce2733851fdc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237633
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-03-17 19:06:16 +00:00
Konstantin Shcheglov f1a753a338 Don't look for .packages while creating Workspace.
Change-Id: I8903f21caad6d0920dc2dca8f2a20137540198b4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237722
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-03-17 17:57:13 +00:00
Nate Bosch 8f563a4f35 Update to the latest package:test
R=jakemac@google.com

Change-Id: Iac051b5cfaf80717125a4011ff39c437e62aba53
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237723
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
2022-03-17 17:51:07 +00:00
Konstantin Shcheglov 592bfc0174 Remove newDotPackagesFile(), related from file_paths, context location / manager.
Change-Id: I0f3c067b47e4d0f6171b8a26d34fc173df983c29
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237637
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-03-17 17:40:16 +00:00