dart-sdk/runtime
Vyacheslav Egorov 375b32d621 [vm/compiler] Canonicalize more intermediate constants in IL.
* when building IL from Kernel use canonical double representation
instead of allocating new double objects;
* in constant propagation canonicalize immutable primitive constants
(strings, mints and doubles) before replacing instruction with its
constant value;

This relands 5909932d38 with the part
that was causing timeouts on flutter_test reverted.

See https://github.com/dart-lang/sdk/issues/32904 for more details.

TBR=aam@google.com

Change-Id: I0c128e44dd6c9689c4b7e9dd91832408214847f3
Reviewed-on: https://dart-review.googlesource.com/51460
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2018-04-20 16:59:49 +00:00
..
bin [fuchsia] Print error on failing fdio_ns_destroy instead of crashing. 2018-04-19 22:53:13 +00:00
include [vm] Remove Dart_InterruptIsolate. 2018-04-06 01:00:30 +00:00
lib [VM] Remove legacy Object::empty_context() and CTX constant 2018-04-19 20:09:38 +00:00
observatory Revert "Error on missing method implementation in non-abstract class" 2018-04-18 17:27:22 +00:00
platform [ VM / Dart 2 ] Reland: Fixed StackTraceFormat test to expect file URIs in stacks generated by the Dart frontend. 2018-04-04 21:28:16 +00:00
tests/vm [ VM / Kernel ] Implemented SourceFingerprint for Dart 2. 2018-04-19 23:48:28 +00:00
third_party [gn] Split target arch/os defines from dart_config 2017-10-31 17:33:13 +00:00
tools Read patch files in strong mode 2018-02-05 14:35:36 +00:00
vm [vm/compiler] Canonicalize more intermediate constants in IL. 2018-04-20 16:59:49 +00:00
.gitignore
BUILD.gn [fuchsia] Add rules to build gen_snapshot targeting Fuchsia 2018-03-28 19:39:49 +00:00
codereview.settings
CPPLINT.cfg clang-formats remaining files and adds a presubmit check. 2016-11-09 12:43:57 -08:00
PRESUBMIT.py VM: Enforce correctly formatted C++ code 2016-11-30 23:52:52 +01:00
runtime_args.gni [infra,flutter] Adds semantically meaningful custom version strings 2018-02-16 20:44:48 +00:00