dart-sdk/runtime
Aart Bik c701e76506 [vm/compiler] handle non-nullable null situation better
Rationale:
Previously, we avoided introducing redefinitions that
introduced the empty non-nullable null type. This situation
arises when we do a null check on an actual null value
(making all subsequent uses effectively dead code). This
is too simple, however, since it still allows hoisting the
uses before the check. This CL gives a better solution
by introducing redefinitions without a constraining type
(which are not removed and avoid the type). In the long
run perhaps the best solution would be to simply remove
all subsequent uses as dead.

https://github.com/dart-lang/sdk/issues/32167
https://github.com/dart-lang/sdk/issues/34473
https://github.com/dart-lang/sdk/issues/35335

Change-Id: Ib5dd072a9e546f6b91faa52ea08e8c0f6350d7e0
Reviewed-on: https://dart-review.googlesource.com/c/89922
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
2019-01-17 22:22:32 +00:00
..
bin [vm] Assert callback state for all Dart_Set*ReturnValue, take 2. 2019-01-17 20:37:33 +00:00
docs [vm] Add doc for snapshot profiling. 2018-12-12 12:38:13 +00:00
include [vm] Add Dart_SaveTypeFeedback and Dart_LoadTypeFeedback. 2019-01-10 01:04:11 +00:00
lib Revert "[vm] Enable timeline on Fuchsia even in product mode." 2019-01-17 00:39:39 +00:00
observatory [Observatory] Updated Dart icon to new colour scheme 2019-01-16 22:14:51 +00:00
platform [vm, kbc, dbc] Remove dependency on computed goto. 2018-11-26 18:20:27 +00:00
tests/vm [Gardening] Skip vm/dart/bare_instructions_trampolines_test on android 2019-01-17 15:56:34 +00:00
third_party
tools [vm] Decouple growable_array.h and zone.h from thread.h 2019-01-11 20:47:10 +00:00
vm [vm/compiler] handle non-nullable null situation better 2019-01-17 22:22:32 +00:00
.gitignore
BUILD.gn [vm,fuchsia] Disable safe-stack 2019-01-09 02:56:22 +00:00
codereview.settings
configs.gni [build] Remove unused configurations (dead since removal of dart_bootstrap). 2018-11-16 01:14:56 +00:00
CPPLINT.cfg
PRESUBMIT.py
runtime_args.gni [vm] Eliminate dart_zlib_path from BUILD files 2018-10-24 18:06:43 +00:00