dart-sdk/runtime
Regis Crelier eca06cd299 [VM/nnbd] Normalize FutureOr<T> when loading kernel file.
CFE does not always normalize FutureOr<T> eagerly, e.g. it does not normalize
FutureOr<Null> parsed in the source. However, it normalizes inference or
instantiation results.
For performance reasons, the VM chooses to do it eagerly, i.e. it must also
normalize unnormalized types from a kernel file.

Change-Id: I5798333ba3c58c5b2851045ef32c345d94f58268
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139955
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Régis Crelier <regis@google.com>
2020-03-19 00:19:10 +00:00
..
bin [ VM ] Fix issue where DartDev snapshot would not be found when Dart is installed with Brew 2020-03-17 20:16:25 +00:00
docs [vm/compiler] Tests, cleanups and fixes to Type Testing Stubs. 2020-03-17 14:11:02 +00:00
include [vm] Avoid allocating Monitor/Mutex/... with global initializer, use Init()/Cleanup() functions instead 2020-03-17 08:49:52 +00:00
lib
llvm_codegen
observatory [vm/reload] Use CFEs Class::hasConstConstructor flag 2020-03-17 17:33:02 +00:00
platform [vm] Use acquire-release ordering to publish and consume the class table backing arrays. 2020-03-18 17:18:55 +00:00
tests/vm Re-land "[vm/tfa] Convert named and optional parameters to required parameters where possible." 2020-03-17 19:54:05 +00:00
third_party
tools
vm [VM/nnbd] Normalize FutureOr<T> when loading kernel file. 2020-03-19 00:19:10 +00:00
.clang-tidy
.gitignore
BUILD.gn
codereview.settings
configs.gni
CPPLINT.cfg
PRESUBMIT.py
runtime_args.gni