mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 13:08:01 +00:00
0c5b98bb15
This change includes the following: * Decision to use subtype range checks is revised to work regardless of the NNBD mode. * Handling of dynamic/Object/void is removed from SlowTypeTest stub as we use TopTypeTypeTest stub for the top types. That handling was unnecessary but harmless. However, in NNBD strong mode it becomes incorrect for non-nullable Object. * TypeTestingStubGenerator::OptimizedCodeForType now falls back to TypeTestingStubGenerator::DefaultCodeForType instead of directly using StubCode::DefaultTypeTest(). This refactoring is needed to avoid duplicating a more complicated logic in TypeTestingStubGenerator::DefaultCodeForType in the future. Change-Id: I09a3f3d9844c02263cd2dac7922c1bdd5264ee55 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135628 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Régis Crelier <regis@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
llvm_codegen | ||
observatory | ||
platform | ||
tests/vm | ||
third_party | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
PRESUBMIT.py | ||
runtime_args.gni |