Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(871)

Unified Diff: tests/compiler/dart2js/serialization/model_test_helper.dart

Issue 2938203003: Compute KernelClosureRepresentationInfo.variableIsUsedInTryOrSync (Closed)
Patch Set: Merge KernelClosureConversionTask and KernelClosureDataLookup Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/serialization/model_test_helper.dart
diff --git a/tests/compiler/dart2js/serialization/model_test_helper.dart b/tests/compiler/dart2js/serialization/model_test_helper.dart
index 8c901d61cc49ffbfa84ac7e45c39b516e4db5dfd..ec6f85e14b7cc9146fed26a245c74286a704412b 100644
--- a/tests/compiler/dart2js/serialization/model_test_helper.dart
+++ b/tests/compiler/dart2js/serialization/model_test_helper.dart
@@ -164,10 +164,12 @@ void checkElements(
if (element1.isFunction ||
element1.isConstructor ||
(element1.isField && element1.isInstanceMember)) {
- ClosureRepresentationInfo closureData1 =
- compiler1.closureDataLookup.getClosureRepresentationInfo(element1);
- ClosureRepresentationInfo closureData2 =
- compiler2.closureDataLookup.getClosureRepresentationInfo(element2);
+ ClosureRepresentationInfo closureData1 = compiler1
+ .backendStrategy.closureDataLookup
+ .getClosureRepresentationInfo(element1);
+ ClosureRepresentationInfo closureData2 = compiler2
+ .backendStrategy.closureDataLookup
+ .getClosureRepresentationInfo(element2);
checkElementIdentities(
closureData1,
« pkg/compiler/lib/src/js_model/js_strategy.dart ('K') | « tests/compiler/dart2js/memory_compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698