3272abc93d
TFA used assertions which are always enabled (assertx utility function). As TFA became more mature, we can now turn them into ordinary asserts, effectively disabling them. During development assertions can be enabled using DART_VM_FLAGS environment variable, which is accepted by our precompiler2 and gen_kernel scripts: DART_VM_FLAGS=--enable-asserts pkg/vm/tool/precompiler2 foo.dart foo.snapshot This change may improve AOT compilation time of large applications. Fixes https://github.com/dart-lang/sdk/issues/43300 Change-Id: I8f52862e83a6db8c2f9041fcf6afa8101509324f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/163121 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Aske Simon Christensen <askesc@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
This package hosts VM specific Dart code and helper scripts.