[record_use] Stop recording annotations
Stop recording annotations (in the VM and dart2wasm). The visitor will stop visiting as soon as it is in an expression that is in the annotations list. The tests have been migrated so that their constants occur in the executable code instead of annotations. One test has been kept to see that the annotations no longer are recorded: TEST=pkg/vm/testcases/transformations/record_use/instance_method.dart A new test has been added to ensure we're also recording constants nested inside other constants. TEST=pkg/vm/testcases/transformations/record_use/nested_instance_constant.dart Closes: https://github.com/dart-lang/native/issues/2977 Change-Id: I5d814c8500b510628025ab2daeb115e782dd423a Cq-Include-Trybots: luci.dart.try:dart2wasm-asserts-linux-chrome-try,dart2wasm-asserts-minified-linux-d8-try,dart2wasm-linux-chrome-try,dart2wasm-linux-d8-try,dart2wasm-linux-firefox-try,dart2wasm-linux-jscm-chrome-try,dart2wasm-linux-optimized-jsc-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-canary-linux-try,dart2js-hostasserts-linux-d8-try,dart2js-linux-chrome-try,dart2js-linux-firefox-try,dart2js-mac-chrome-try,dart2js-mac-safari-try,dart2js-minified-csp-linux-chrome-try,dart2js-minified-linux-d8-try,dart2js-unit-linux-x64-release-try,dart2js-win-chrome-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/478440 Commit-Queue: Johnni Winther <johnniwinther@google.com> Auto-Submit: Daco Harkes <dacoharkes@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
This commit is contained in:
committed by
Commit Queue
parent
e68f866b10
commit
61babf9699
+1
@@ -4,6 +4,7 @@
|
||||
|
||||
test/cbuilder/cbuilder_cross_android_test: SkipByDesign # Cross compilation is not tested on the Dart CI.
|
||||
test/cbuilder/cbuilder_cross_linux_host_test: SkipByDesign # Cross compilation is not tested on the Dart CI.
|
||||
test/cbuilder/cbuilder_cross_macos_host_test: SkipByDesign # Cross compilation is not tested on the Dart CI.
|
||||
test/cbuilder/cbuilder_cross_windows_host_test: SkipByDesign # Cross compilation is not tested on the Dart CI.
|
||||
test/clinker/objects_cross_android_test: SkipByDesign # Cross compilation is not tested on the Dart CI.
|
||||
test/clinker/objects_cross_ios_test: SkipByDesign # Cross compilation is not tested on the Dart CI.
|
||||
|
||||
Reference in New Issue
Block a user