Commit Graph

6631 Commits

Author SHA1 Message Date
Alexander Markov 07a63a17a4 [vm,aot,bytecode] Handle procedure-attributes metadata when generating bytecode
Change-Id: I26e1a15d979ce13ca60298de28ced49b6882cf52
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119765
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
2019-10-03 16:27:33 +00:00
Robert Nystrom e919e89d0b Add an "--nnbd" flag to build.py.
This treats whether or not to use the forked NNBD SDK as a build flag
similar to mode or architecture. When this flag is passed, it appends
"NNBD" to the main output directory, like xcodebuild/ReleaseX64NNBD.

It also defines a "use_nnbd" flag that is available inside BUILD.gn
files to determine whether or not to use the forked SDK. This flag
currently isn't used. Implementation teams will need to edit their
build steps to take that into account.

In order to use this mode on the bots, we'll need to tweak the bot
scripts to figure out whether the mode is enabled or not. There are a
couple of TODOs in the Python scripts for that. I'm not sure how that
should be specified in dart_sdk.py.

This CL does not remove my previous change to allow building the NNBD
fork next to dart-sdk in the same root output directory. I'll revert
those changes in a different CL once this one lands.

Change-Id: I3bd28f273106ee90caf9474b2fadad120b2c2d0b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119602
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2019-10-03 00:11:32 +00:00
Clement Skau 0f7a3cd611 [SDK] Adds dart2native to the test_matrix vm-kernel fileset.
Change-Id: Ic60bc7f908937226a56d7c4fa13c6733abecc1c4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119641
Auto-Submit: Clement Skau <cskau@google.com>
Reviewed-by: Samir Jindel <sjindel@google.com>
Commit-Queue: Clement Skau <cskau@google.com>
2019-10-02 15:54:50 +00:00
Johnni Winther d8c5daf17a Enable extension methods by default
Change-Id: Ib70ac3a1dd4885ef95a9b5b001978ffbb46f6ad0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119327
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2019-09-30 11:28:46 +00:00
Clement Skau bb600e99e2 [SDK] Make dart2native default output .exe, not .dart.exe.
Bug: https://github.com/dart-lang/sdk/issues/38530
Change-Id: I485bfe52e82932f5e886e6b3aaee6f8b079ed91e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119146
Reviewed-by: Michael Thomsen <mit@google.com>
Commit-Queue: Clement Skau <cskau@google.com>
2019-09-30 09:13:22 +00:00
Samir Jindel 85948bd799 [vm/elf] Run strip --strip-unneeded on ELF snapshots during testing.
Android's strip can make incorrect assumptions about the ELF it's processing,
which has caused bugs leaking into Flutter:

- https://github.com/dart-lang/sdk/issues/37146
- https://github.com/flutter/flutter/issues/41010

These kinds of bugs may be difficult to reproduce and have subtle effects.
We should run strip ourselves on the CQ to catch them earlier.

Change-Id: I1ba39aa7996749f90d3f7373f668c797d2e300d7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118388
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2019-09-27 13:24:46 +00:00
Ryan Macnak 7901c508c8 [build] Enable ASAN leak detection during the build, not just tests.
Fix two leaks in gen_snapshot.cc.

Change-Id: Ie05771bf0386371842d327c9927319f207603cc1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119065
Reviewed-by: Liam Appelbe <liama@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2019-09-26 23:19:42 +00:00
Daco Harkes f3793ab22d [tools] Update generate_idefiles.py to exclude analyzing sdk_nnbd
After https://dart-review.googlesource.com/c/sdk/+/116527 was landed, running the analyzer on the sdk root produces 14k+ messages instead of  2k+ messages.

Note 1800 of those 2200 messages are TODOs.

Change-Id: I9d75924b83ac9e2c42fd2ce4ca64b73d55c8fc53
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118987
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2019-09-26 17:31:50 +00:00
Samir Jindel 9a683de40d [vm] Support testing assembly snapshots for ARM.
We have had several bugs propagate to Flutter end-users due to our lack of testing of
AOT Assembly snapshots on ARM (SIMARM_X64 in particular), causing reverts of SDK commits
and disrupting the Dart -> Flutter roll.

This leverages our custom ELF loader to load the generated ELF objects, which cannot be
loaded by dlopen() because they are marked with the ARM ABI.

For example, see:
  - https://github.com/flutter/flutter/issues/40114
  - https://github.com/flutter/flutter/issues/41228

Also do some tree-shaking of the snapshot writers for dart_precompiled_runtime.

Fixes https://github.com/dart-lang/sdk/issues/38433.

Change-Id: I5990769c623b8a13131b1848349af2c0a026272b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118569
Reviewed-by: Clement Skau <cskau@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Samir Jindel <sjindel@google.com>
2019-09-25 17:09:16 +00:00
Jonas Termansen 8cbc4f3982 [benchmark] Add support for benchmarking DDC.
This change adds the required support to benchmark DDC just like dart2js.

The ddb tool gains the following options:

  --compile-vm-options=VM-OPTIONS
      The value of the DART_VM_OPTIONS environment variable set when running
      dartdevc. This option is required to measure the memory use of
      dartdevc while compiling.

  --packages=PACKAGES-FILE
      The .packages file to use when compiling. This option is required for
      special benchmarks with a .packages in a subdirectory and is generally
      useful.

  --out=OUTPUT-FILE
      Write the compiled javascript to this path and the other generated
      files along it. This option makes the benchmark configuration easier
      and is generally useful.

The dartdevc and dartdevc.bat scripts in the released Dart SDK now gains
support for the DART_VM_OPTIONS environment variable, just like the dart2js
scripts. This feature is needed to measure the memory usage of the Dart VM
executing dartdevc.

tools/bots/try_benchmarks.sh now tests that ddb can compile and run
benchmarks using the needed features.

Change-Id: Ib1ef07b0888a8c0cf900fe2fbb5697aab733db08
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118440
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2019-09-25 09:48:00 +00:00
Samir Jindel 362ef8e67c [vm/aot] Add a custom ELF loader in dart_precompiled_runtime.
Also switch some CQ bots using blobs to ELF. Once all embedders have migrated, we will remove blobs
support entirely.

Change-Id: Ie5e8c1187ad6c1af362b5715daafd3641bc8cc0e
Cq-Include-Trybots:luci.dart.try:vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-linux-release-simarm-try,vm-kernel-precomp-linux-release-simarm64-try,vm-kernel-precomp-bare-linux-release-simarm-try,vm-kernel-precomp-mac-debug-simarm_x64-try,vm-kernel-precomp-mac-release-simarm64-try,vm-kernel-precomp-win-release-x64-try,vm-kernel-precomp-android-release-arm-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116620
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-09-24 15:03:19 +00:00
Mark Zhou d012dfc7a6 Removing 'webkit' prefix, as most modern web browsers will accept 'RTCPeerConnection'
Fixes #38325

Change-Id: I08589781c8e8647c1e6d403baf4d6106d5308181
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116941
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Mark Zhou <markzipan@google.com>
Auto-Submit: Mark Zhou <markzipan@google.com>
2019-09-24 00:04:00 +00:00
Clement Skau f546362691 [SDK] Adds dart2exe to create standalone executables.
Tested:
  ./tools/build.py --arch x64 --mode release --verbose create_sdk copy_gen_kernel_snapshot copy_dart2aot
  ./tools/build.py --arch x64 --mode product --verbose copy_gen_snapshot copy_dartaotruntime
  cp -r out/ProductX64/dart-sdk/bin/{dartaotruntime,utils/} out/ReleaseX64/dart-sdk/bin/
  out/ReleaseX64/dart-sdk/bin/dart2native ~/src/hello_world.dart
  ~/tmp/hello_world.exe

  dart tools/bots/aot_smoke_tests.dart

  python tools/test.py -n dartkp-linux-release-x64 vm/dart/run_appended_aot_snapshot_test

Change-Id: I149fcd18405cdf0a87b8f4b4072c0f0e8f98c067
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117140
Commit-Queue: Clement Skau <cskau@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-09-23 12:00:08 +00:00
Mark Zhou 56913c2555 Changing val to accommodate double values
Change-Id: If19b6aece45b46a0ceb85d98b0ac73eb3735e0dd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118240
Reviewed-by: Vijay Menon <vsm@google.com>
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Mark Zhou <markzipan@google.com>
2019-09-20 16:23:35 +00:00
Alexander Markov 31996aa24f [vm/bytecode] Enable bytecode compiler by default in Dart SDK
This is the reland of https://dart-review.googlesource.com/c/sdk/+/110551.

Change-Id: I85fcfadfd20fdba752fa8225650a1cb6c32fff31
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117931
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-09-19 15:17:56 +00:00
Jens Johansen 2a94546f94 Fix flutter-frontend bot and future problems in flutter HHH bot
Two things before this CL was wrong:
* The script didn't apply paches
* The patch we needed to apply wasn't applied because a dart roll in the
  engine was done basically at the same time that the change requiring
  the patch was landed. The dart-roll did not include it, but the change
  applied the patch the the before-dart-roll-dart-version.

This CL fixes it by applying patches in the flutter-frontend script,
and copying the patch to apply to both dart-revisions.

Change-Id: If3187090778c59cf0ebdf7ab4858189c6b8904b0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117941
Reviewed-by: Jens Johansen <jensj@google.com>
2019-09-19 06:59:21 +00:00
asiva 7c1821c4aa [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split
- Move all VM patch files from the lib directory to
sdk/lib/_internal/vm/lib
- Move all VM patch files from the bin directory to
sdk/lib/_internal/vm/bin
- Fixed paths for above patch files in libraries.yaml file.
- Created copies of these patch files in sdk_nnbd directory
- Cleaned up *.gni files by removing the unused dart patch files lists.

Change-Id: I3109d22f3b729a073a6b40175a0d29162a455830
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117685
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
2019-09-19 03:57:30 +00:00
Alexander Markov 397c7e4d9a Revert "[vm/bytecode] Enable bytecode compiler by default in Dart SDK"
This reverts commit bcca3c483b.

Reason for revert: Failures on vm-kernel-reload-linux-release-x64 bot.

Original change's description:
> [vm/bytecode] Enable bytecode compiler by default in Dart SDK
> 
> Change-Id: Ica9afac673e294734255a9fa8802ec05c2dde24c
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110551
> Reviewed-by: Régis Crelier <regis@google.com>
> Reviewed-by: Siva Annamalai <asiva@google.com>
> Commit-Queue: Alexander Markov <alexmarkov@google.com>

TBR=rmacnak@google.com,alexmarkov@google.com,asiva@google.com,regis@google.com

Change-Id: I77ef8a0ccfafe6c6a5f309cd0e5ea7ca1b804846
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117927
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-09-18 23:02:29 +00:00
Alexander Markov bcca3c483b [vm/bytecode] Enable bytecode compiler by default in Dart SDK
Change-Id: Ica9afac673e294734255a9fa8802ec05c2dde24c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110551
Reviewed-by: Régis Crelier <regis@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-09-18 20:20:55 +00:00
Vijay Menon bd28bad820 [dartdevc] add modular tests for old ddc
Change-Id: Iff068cc4e737e9a6993c6f724fc0b6853ed1d5fc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113621
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
2019-09-18 17:21:53 +00:00
Samir Jindel b510b91424 [vm] Bump abi version.
https://dart-review.googlesource.com/c/sdk/+/117726 was incorrectly rebased.

Change-Id: Ibec9d10dbddc4820c1fb0b39cdfb55236c2c1ff2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117780
Reviewed-by: Samir Jindel <sjindel@google.com>
2019-09-18 15:53:44 +00:00
Samir Jindel 205b90f0de Take 3 for '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).'
Fixes the changes to assembly snapshot writer in SIMARM_X64 mode. This unfortunately can't be tested until the ELF loader is available.

Take 2 is in patchset 1.

Change-Id: Ib8b067dd4f09dcba3b142705e9cb4dfbf4e3eb53
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117726
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-09-18 14:56:27 +00:00
Kallen Tu f20f619050 Add 'variance' experimental flag.
Generated flag code

Change-Id: I61e6b8fd0a21c511c93afb9b334dc8c17eb69272
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117041
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2019-09-13 16:11:16 +00:00
William Hesse 8b26ae942f Change name of test configuration on abi test builder.
Makes the name of the configuration match the pattern of other configurations.

Change-Id: If14550d3d84e9414f1c8e1caab3f9fce5070c58d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112387
Reviewed-by: Liam Appelbe <liama@google.com>
2019-09-12 08:36:42 +00:00
Alexander Aprelev 0c481a196c Revert Reland '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' as it breaks flutter profile execution on ios 32-bit platform.
Fixes https://github.com/flutter/flutter/issues/40114

Change-Id: If8d71e9c19c2e794d29f7ecbacb87457890a2fd5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116883
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2019-09-12 00:10:09 +00:00
Alexander Thomas f16d6d5910 [infra] Ignore newly detected flakes in try runs
Previously, approve_results.dart only looked at flaky.json from the
baseline build to determine whether to ignore a flake. But, if the flake
occurs in the try build and is detected as such by deflaking, flaky.json
might not contain data about the flake. Therefore, approve_results.dart
needs to also inspect the results data for the flaky bit.

Change-Id: I51f4c44a80684414c2c50d2460aed3f90eadaf12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116341
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-09-10 11:03:26 +00:00
Alexander Thomas e9c3eebef1 [infra] Add handling of signed SDK directories to promote.py
Copy the signed SDK directory to release first (if it exists). Then copy
only those unsigned files that have no signed counterparts.

* Add --version alias and remove SVN reference from --revision help.
* Fix --dry-run.
* Add new base_directory to GCS namer.

b/139027087

Change-Id: I4163eb56494bfa92ab1e5686cf089136d63881fe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115860
Reviewed-by: William Hesse <whesse@google.com>
2019-09-09 07:10:41 +00:00
Alexander Markov 13a69b5631 [vm/bytecode] Replace ICData constant pool entries with DynamicCall
VM no longer relies on distinct ICData entries in constant pool, and
it no longer creates actual ICData objects.

This change introduces new DynamicCall constant pool entry which is
 * de-duplicated;
 * stores arguments descriptor inline instead of allocating a separate
   constant pool entry and referencing it by index;
 * reserves extra slot in constant pool (like other call constants), so
   we can eventually remove creation of extra UnlinkedCall objects.

Change-Id: I8d21954803ca5be5b6fc8335b700e8a9086245cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116120
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-09-07 02:17:37 +00:00
Sam Rawlins d964c50cff clear contents on TemplateElement#setInnerHtml before appending
Fixes #18249

Change-Id: I29b12163ad5809010c4ee4ff4ce892399d26e3ea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112485
Reviewed-by: Terry Lucas <terry@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2019-09-06 18:31:59 +00:00
Samir Jindel c219a76652 Reland "[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs)."
The original change is in Patchset 1.
The dependency contains the fix for the non-bare-instructions bot.

Change-Id: Iab02ab0736a2ee9144b667d2777ca526341b2a36
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-android-release-arm-try,vm-dartkb-linux-release-x64-abi-try,vm-kernel-precomp-bare-linux-release-x64-try,vm-kernel-precomp-mac-debug-simarm_x64-try,vm-kernel-precomp-win-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115241
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2019-09-05 20:19:22 +00:00
Zichang Guo 16a4c0d13c Bump up oldest_supported_abi_version for abi bot
Fix abi bot

Change-Id: I6695c0b55eaaa1b2cb13eba47dde9b3e6b34f343
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115760
Reviewed-by: Liam Appelbe <liama@google.com>
Commit-Queue: Zichang Guo <zichangguo@google.com>
2019-09-05 17:52:40 +00:00
Zichang Guo 92ed74e5f1 Reland "[vm] support zoneID for http"
This is a reland of c3db2e3ee0

Original change's description:
> [vm] support zoneID for http
> 
> Coming from https://dart-review.googlesource.com/c/sdk/+/103544.
> 
> Fixes: https://github.com/dart-lang/sdk/issues/37570
> Change-Id: I0f81cb5d8009dc929fca24e03a343a7b0c1597bc
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110121
> Reviewed-by: Siva Annamalai <asiva@google.com>
> Commit-Queue: Zichang Guo <zichangguo@google.com>

Change-Id: I3692bf02fd29bc3bc8b9b54de1466075fecec1f3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115605
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Zichang Guo <zichangguo@google.com>
2019-09-05 14:54:48 +00:00
Karl Klose 269af100f9 [infra] With multiple test results, use the first instead of the last in createResultsMap
Change-Id: I48ac4ab6ec1b60a4b6ecec3976a1bba7483f6e12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115682
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Karl Klose <karlklose@google.com>
2019-09-05 08:43:10 +00:00
Zichang Guo 8cad4a2146 Revert "bump up ABI version to fix red abi bot"
This reverts commit c5e618b3da.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> bump up ABI version to fix red abi bot
> 
> Change-Id: I8c2cf558ff605812df3fee10da04e67125055cbc
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115441
> Reviewed-by: Régis Crelier <regis@google.com>
> Commit-Queue: Zichang Guo <zichangguo@google.com>

TBR=regis@google.com,zichangguo@google.com

Change-Id: I2e5e99d88930207326295e9b455b72be3681ba36
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115603
Reviewed-by: Zichang Guo <zichangguo@google.com>
Commit-Queue: Zichang Guo <zichangguo@google.com>
2019-09-04 22:17:19 +00:00
Zichang Guo c5e618b3da bump up ABI version to fix red abi bot
Change-Id: I8c2cf558ff605812df3fee10da04e67125055cbc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115441
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Zichang Guo <zichangguo@google.com>
2019-09-04 19:37:41 +00:00
Alexander Thomas b158490fb2 [infra] Add precomp-android-arm64 builder to the test matrix
TBR=whesse@google.com

Change-Id: Ib6579c5c3b2f8695f4998577782e33875da02358
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115200
Reviewed-by: Alexander Thomas <athom@google.com>
2019-09-01 19:01:47 +00:00
Vijay Menon 9cdafb9ef8 [dartdevc] prune unneeded bot configs
The modular tests run on d8 - no need to run on both chrome and ff bots.

Old DDC is only used internally on Linux today, so removing Mac tests.
(Could also split out Win testing.)

Change-Id: If2ab50fae89d25d95f2e45d80de4834033e43b9f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114621
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
2019-08-28 17:16:32 +00:00
Alexander Thomas 1438a68034 [infra] Bump version to 2.6
Change-Id: I978f48c6eb2f9a14961c0f6710d47cf1bb00f17d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114863
Reviewed-by: William Hesse <whesse@google.com>
2019-08-28 16:26:33 +00:00
Ben Konyi 69c6bea18f [ fuzzer ] Fixed analysis warnings in dartfuzz, enabled analysis as part of bot checks
Also ran dartfmt -w --fix on runtime/tools/dartfuzz.

Change-Id: I2b5154590300889a7da35eb0ed3ee20a8e14c606
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114551
Reviewed-by: Aart Bik <ajcbik@google.com>
Reviewed-by: Felicitas Hetzelt <felih@google.com>
2019-08-26 21:22:12 +00:00
Aske Simon Christensen 95c9f732de Expire spread and control-flow collection flags.
Change-Id: I59fe3ad2bdd90681e6d40dc39f04a0e53125e707
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113989
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2019-08-22 10:52:51 +00:00
Ben Konyi d95bb2d74f [ package:vm_service ] Analyze package:vm_service on bots
Change-Id: Ie68a7921d4ba38628997673d643a220505e5a528
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113862
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2019-08-20 19:27:38 +00:00
Jens Johansen fc16f8aa58 Apply flutter-engine patch to dump dart_package_config_tag version
Change-Id: Ie877cb35e9784804a4d7a39ef7bc95a6bb7bcf06
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113823
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-08-20 14:22:40 +00:00
Jonas Termansen 27c8d8b7a8 [benchmark] Stop benchmarking fasta in legacy mode.
This mode is no longer relevant and doesn't need to be benchmarked.

I didn't remove the legacy entry points in

* pkg/front_end/tool/fasta_perf.dart
* pkg/front_end/tool/incremental_perf.dart

as that would allow a cascade of simplifications that's probably better done
by the front end team.

Change-Id: Iffd977cfdf322aa181025920423083f4ab9de75f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113688
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2019-08-20 09:02:12 +00:00
Jonas Termansen 464cea0a9f [benchmark] Test dart2js-x continues to work.
Remove remnant of dart2js-checked.

Change-Id: I6714acc2cead23d4166eff1869ae51c3d3bac1ad
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113693
Reviewed-by: Alexander Thomas <athom@google.com>
2019-08-20 08:48:28 +00:00
Jonas Termansen 208c8dd0c0 [benchmark] Remove SIMDBC benchmark test coverage.
This removes 1 minute of build time from the benchmark-linux-try CQ builder.

Change-Id: I327b35cf50687bee26a3b12dedfdf5fc053c26ea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113323
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-08-19 14:38:43 +00:00
Alexander Thomas e2fdff1009 [infra] Add hack to hardcode version to 2.5.0 for Flutter 1.9
This adds a temporary hack causing make_version.py to report 2.5.0 if
the VERSION file's major.minor.patch = 2.5.0 and the channel is be and
--custom_for_pub = flutter. As soon as the VERSION file is bumped on
master, the hack will become a no-op and can be removed.

Fixes https://github.com/dart-lang/sdk/issues/37838

Change-Id: Icaff27e35686dfe4c69c17f7edbcf57b6fdf6ae2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113187
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-08-16 23:10:20 +00:00
Nicholas Shahan 29dc9313e6 [dartdevc] Create a new status file for DDC co19 tests
Move existing test status from the dart2js status file.

Change-Id: I8c9f296119ae23da40896581c1f1a1a9cba11494
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112646
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2019-08-16 20:42:25 +00:00
Sam Rawlins 221ebec08d Fix catchError callback example; dartfmt
Fixes #21497

Change-Id: I4cc0bfa4c98af49df79bf03430c776a6d9edd0ab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112747
Reviewed-by: Terry Lucas <terry@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2019-08-16 20:34:20 +00:00
Aske Simon Christensen 528292bd30 Expire constant-update-2018 flag.
All uses of no-constant-update-2018 in the Dart SDK, Flutter and
Fuchsia have been cleaned out, which means we can expire the flag.

Closes https://github.com/dart-lang/sdk/issues/37874

Change-Id: Ie31dfbf87db52d37fdf4218afa8c6f7a894bafff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113182
Reviewed-by: Dan Rubel <danrubel@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2019-08-16 13:48:27 +00:00
Vijay Menon 1eaa7d2902 [html] cleanup JS types
This ensures JS calls in the SDK are statically typed (or, at least, don't
inadvertently trigger dynamic calls).

Analyzer has a hack where `JS('String', ...)` is typed as `String`.  Kernel
doesn't, but we get the same effect (in DDK) via `JS<String>('String', ...)`.

This should not affect dart2js which specially interprets the type string
itself.

Change-Id: I63c5f199e2c51da2beca72659261acf1faff66e8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112937
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
2019-08-14 18:02:09 +00:00