dart-sdk/pkg
Martin Kustermann 16ddfc1565 [VM] Use assert assignable implementation for explicit downcasts
This makes explicit downcasts more efficient by re-using the
optimizations we already have for implicit downcasts.

For implicit/explicit as checks we use the symbol to distinguish which
exception to throw if the check fails.  So this does not actually
require unification of _CastError and _TypeError.

Issue https://github.com/dart-lang/sdk/issues/34582
Issue https://github.com/dart-lang/sdk/issues/30632
Issue https://github.com/dart-lang/sdk/issues/30571

Change-Id: I7b8818d2698e249c90a3e1b8790bad69ada649a9
Reviewed-on: https://dart-review.googlesource.com/c/78748
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-10-10 12:36:42 +00:00
..
analysis_server Fix MOVE_FILE test paths for Windows 2018-10-09 15:00:07 +00:00
analysis_server_client
analyzer Store return type and parameters separately in GenericFunctionTypeElementForLink. 2018-10-09 23:09:16 +00:00
analyzer_cli Replace dartfix confirm apply changes with --force 2018-10-09 19:16:13 +00:00
analyzer_fe_comparison Remove TargetFlags.strongMode 2018-10-10 12:11:41 +00:00
analyzer_plugin Fix cast exception in OpTypeAstVisitor 2018-10-09 18:40:19 +00:00
async_helper
build_integration
compiler Remove TargetFlags.strongMode 2018-10-10 12:11:41 +00:00
dart2js_tools
dart_internal
dev_compiler Add cli parameters to kernel_sdk.dart to get all paths explicitly 2018-10-09 22:15:06 +00:00
diagnostic Create a package for shared diagnostics 2018-09-27 16:23:20 +00:00
expect implement super mixins in dartdevc and fix a few issues in Analyzer 2018-09-18 03:21:48 +00:00
front_end Remove TargetFlags.strongMode 2018-10-10 12:11:41 +00:00
js
js_ast [dart2js] Smaller code by caching values 2018-10-08 17:40:19 +00:00
kernel Remove TargetFlags.strongMode 2018-10-10 12:11:41 +00:00
meta Revert "[dart2js] Simplify noInline / tryInline annotations" 2018-09-25 22:11:42 +00:00
microlytics
smith Lay the groundwork for comparing language_2 compilation results between analyzer and CFE. 2018-09-08 15:25:05 +00:00
sourcemap_testing
status_file
telemetry
testing Fix broken 'fasta testing sdk'. 2018-09-27 13:08:47 +00:00
vm [VM] Use assert assignable implementation for explicit downcasts 2018-10-10 12:36:42 +00:00
.gitignore
BUILD.gn
pkg.status Update status entries for renamed test (pkg/front_end hot_reload_e2e_test) 2018-10-05 14:24:41 +00:00