dart-sdk/pkg
Jenny Messerly 29afbf8f12 Implement constant evaluation for dartdevk
This builds on the VM's support for constants, and brings dartdevk to
parity with dartdevc. Also, constants are computed with arithmetic
operations that match runtime behavior (JS numbers).

Constants are limited in some cases right now: when building outline
kernel files (via pkg/dev_compiler/tool/build_pkgs.dart), constant field
initializers are not preserved, and this fact is not recorded, making
these fields appear to be implicitly null. dartdevk will recognize this
and avoid inlining the constant in these cases.

Change-Id: I5e6d95ccc32799da3bec1667ed16078a1a87d0bd
Reviewed-on: https://dart-review.googlesource.com/53121
Commit-Queue: Jenny Messerly <jmesserly@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2018-05-15 06:04:18 +00:00
..
analysis_server Remove some dead code from analysis_server 2018-05-14 18:57:17 +00:00
analysis_server_client Clean up some hints 2018-03-26 17:39:18 +00:00
analyzer [kernel, vm] Revise how metadata is written in kernel binaries 2018-05-15 00:41:08 +00:00
analyzer_cli Enable preview-dart-2 as default for analyzer. 2018-04-26 17:01:12 +00:00
analyzer_plugin Update FoldingKinds enum, update specs and increase version number 2018-05-14 16:48:48 +00:00
async_helper
compiler [dart2js] $async$self does not require a temp 2018-05-15 00:29:48 +00:00
dart_internal Make warning more warning-y. 2018-03-02 02:04:44 +00:00
dart_messages Remove uses of upper-case constants in remaining SDK code. 2018-04-16 16:11:57 +00:00
dev_compiler Implement constant evaluation for dartdevk 2018-05-15 06:04:18 +00:00
expect Clean up documentation of implicit new/const insertions tests. 2018-04-10 14:49:41 +00:00
front_end Restrict analyzer/front_end/kernel SDK versions to dev.48+. 2018-05-14 19:32:45 +00:00
js
js_ast Remove Dart 2 errors in package:js_ast 2018-03-30 11:21:21 +00:00
kernel [kernel, vm] Revise how metadata is written in kernel binaries 2018-05-15 00:41:08 +00:00
meta Meta CHANGELOG markdown cleanup. 2018-05-03 20:52:40 +00:00
microlytics
sourcemap_testing Use int.tryParse in sourcemap_testing 2018-05-14 13:56:18 +00:00
status_file Revert "[vm/kernel] Expression execution through Kernel. 2018-05-09 12:41:00 +00:00
telemetry Remove uses of upper-case constants in remaining SDK code. 2018-04-16 16:11:57 +00:00
testing [dart:io] Provide modern Dart-styled constants 2018-05-03 17:00:14 +00:00
vm [kernel, vm] Revise how metadata is written in kernel binaries 2018-05-15 00:41:08 +00:00
.gitignore
BUILD.gn
pkg.status Fix bots after preview-dart2 was switched on by default. 2018-04-26 20:09:56 +00:00