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

Unified Diff: tests/compiler/dart2js/deferred_dont_inline_deferred_constants_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_dont_inline_deferred_constants_test.dart
diff --git a/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart b/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
index 853d5b4faf101585cc570df1548cbc80432a316f..495c6e8353bbd3800c96b721949becea5ddeb1fd 100644
--- a/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
+++ b/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
@@ -28,19 +28,19 @@ void main() {
compiler.deferredLoadTask.onResolutionComplete(
main, compiler.resolutionWorldBuilder.closedWorldForTesting);
- var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
+ var outputUnitForEntity = compiler.deferredLoadTask.outputUnitForEntity;
dynamic lib1 = lookupLibrary("memory:lib1.dart");
var foo1 = lib1.find("foo");
- var ou_lib1 = outputUnitForElement(foo1);
+ var ou_lib1 = outputUnitForEntity(foo1);
dynamic lib2 = lookupLibrary("memory:lib2.dart");
var foo2 = lib2.find("foo");
- var ou_lib2 = outputUnitForElement(foo2);
+ var ou_lib2 = outputUnitForEntity(foo2);
dynamic mainApp = compiler.frontendStrategy.elementEnvironment.mainLibrary;
var fooMain = mainApp.find("foo");
- var ou_lib1_lib2 = outputUnitForElement(fooMain);
+ var ou_lib1_lib2 = outputUnitForEntity(fooMain);
String mainOutput = collector.getOutput("", OutputType.js);
String lib1Output =

Powered by Google App Engine
This is Rietveld 408576698