fe2e114e8e
This CL extends '--compiler dartkp' configuration of the testing tool (tools/test.py) to take '--strong' option into account. 'tools/test.py -c dartkp --strong' runs tests through kernel front-end (pkg/front_end/tool/_fasta/compile.dart) and Dart VM precompiler, and in addition: * Enables strong mode in the kernel front-end. * Enables experimental optimizations in the kernel front-end with '--target=vm_precompiler'. * Enables experimental optimizations in Dart VM with '--experimental-strong-mode'. Issue: https://github.com/dart-lang/sdk/issues/30480 Change-Id: I565a4a7f79f880a872a28fe6b91372af1e77f978 Reviewed-on: https://dart-review.googlesource.com/5295 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>