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

Unified Diff: tests/compiler/dart2js/deferred_follow_implicit_super_regression_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_follow_implicit_super_regression_test.dart
diff --git a/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart b/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart
index 6b10ed325f9461800a09d3ba4a5e9d6566d08450..a0a44305193c1c4dbb6569dd440aa604026449ed 100644
--- a/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart
+++ b/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart
@@ -23,16 +23,16 @@ void main() {
compiler.deferredLoadTask.onResolutionComplete(
main, compiler.resolutionWorldBuilder.closedWorldForTesting);
- var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
+ var outputUnitForEntity = compiler.deferredLoadTask.outputUnitForEntity;
dynamic lib = lookupLibrary("memory:lib.dart");
var a = lib.find("a");
var b = lib.find("b");
var c = lib.find("c");
var d = lib.find("d");
- Expect.equals(outputUnitForElement(a), outputUnitForElement(b));
- Expect.equals(outputUnitForElement(a), outputUnitForElement(c));
- Expect.equals(outputUnitForElement(a), outputUnitForElement(d));
+ Expect.equals(outputUnitForEntity(a), outputUnitForEntity(b));
+ Expect.equals(outputUnitForEntity(a), outputUnitForEntity(c));
+ Expect.equals(outputUnitForEntity(a), outputUnitForEntity(d));
});
}

Powered by Google App Engine
This is Rietveld 408576698