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

Unified Diff: tests/compiler/dart2js/deferred_inline_restrictions_test.dart

Issue 3008793002: Use the entity model for dump_info. (Closed)
Patch Set: use codegen enqueuer Created 3 years, 4 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/deferred_inline_restrictions_test.dart
diff --git a/tests/compiler/dart2js/deferred_inline_restrictions_test.dart b/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
index 9b305b7144051863ad7c0d764c7ece01ff8c2adb..f6485846ab7028264af2d08ad2835ab2d80a5868 100644
--- a/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
+++ b/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
@@ -22,15 +22,15 @@ void main() {
return compiler.libraryLoader.lookupLibrary(Uri.parse(name));
}
- var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
+ var outputUnitForEntity = compiler.deferredLoadTask.outputUnitForEntity;
dynamic lib1 = lookupLibrary("memory:lib1.dart");
var inlineMeAway = lib1.find("inlineMeAway");
- var ou_lib1 = outputUnitForElement(inlineMeAway);
+ var ou_lib1 = outputUnitForEntity(inlineMeAway);
dynamic lib3 = lookupLibrary("memory:lib3.dart");
var sameContextInline = lib3.find("sameContextInline");
- var ou_lib3 = outputUnitForElement(sameContextInline);
+ var ou_lib3 = outputUnitForEntity(sameContextInline);
// Test that we actually got different output units.
Expect.notEquals(ou_lib1.name, ou_lib3.name);

Powered by Google App Engine
This is Rietveld 408576698