3df4ec183d
Switch the dart2js test to use the VM expect files and the new semantic equality between two recorded usage files. Dart2js lacks many features, so many tests are skipped and many bool flags are set permissive to allow for lacking source information. Closes: https://github.com/dart-lang/native/issues/2885 TEST=pkg/compiler/test/record_use/record_use_test.dart TEST=pkg/vm/test/transformations/record_use_test.dart Change-Id: I1257b7b7b072fb0d2ebe3ee1dad3d86dbb198043 Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try,dart2js-linux-chrome-try,dart2js-unit-linux-x64-release-try,dart2wasm-linux-jscm-chrome-try,dart2wasm-linux-optimized-jsc-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/471261 Reviewed-by: Mayank Patke <fishythefish@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com>