1989edb06e
This CL adds a new target for kernel front-end, vm_precompiler. This is an experimental target for new Dart VM precompiler pipeline which will fully exploit strong mode type system and perform whole-program optimizations. As an example of such whole-program optimization, this CL adds draft implementation of devirtualization of method invocations, which uses single target computed by closed-world class hierarchy analysis. Corresponding null checks (required for correctness) are not generated yet. Issue: https://github.com/dart-lang/sdk/issues/30480 Change-Id: I704cd16843a08f036a188b1188c80ee4dfbeab3b Reviewed-on: https://dart-review.googlesource.com/3402 Reviewed-by: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>