Unify implementation of 'is' and 'as' checks in VM #30571
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
type-code-health
Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
The implementation of 'is' and 'as' checks in Dart VM and the optimizations for these type checks is both duplicated and diverged. We can unify 'is' and 'as' checks to reduce code duplication and reuse certain optimizations for both kinds of checks.
See
sdk/runtime/vm/jit_optimizer.cc
Line 1213 in 017a1f4
sdk/runtime/vm/jit_optimizer.cc
Line 1289 in 017a1f4
sdk/runtime/vm/aot_optimizer.cc
Line 1312 in 017a1f4
sdk/runtime/vm/aot_optimizer.cc
Line 1439 in 017a1f4
The text was updated successfully, but these errors were encountered: