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

Unified Diff: tests/compiler/dart2js/deferred_load_graph_segmentation2_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_load_graph_segmentation2_test.dart
diff --git a/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart b/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart
index 312d7cc3516751ac0c1b6bead82e4da04e29c48a..8ef28c3df46bdc5ad655ed209813f942b8390b7b 100644
--- a/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart
+++ b/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart
@@ -16,14 +16,14 @@ void main() {
CompilationResult result =
await runCompiler(memorySourceFiles: MEMORY_SOURCE_FILES);
Compiler compiler = result.compiler;
- var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
+ var outputUnitForEntity = compiler.deferredLoadTask.outputUnitForEntity;
var mainOutputUnit = compiler.deferredLoadTask.mainOutputUnit;
dynamic lib =
compiler.libraryLoader.lookupLibrary(Uri.parse("memory:lib.dart"));
var f1 = lib.find("f1");
var f2 = lib.find("f2");
- Expect.notEquals(mainOutputUnit, outputUnitForElement(f1));
- Expect.equals(mainOutputUnit, outputUnitForElement(f2));
+ Expect.notEquals(mainOutputUnit, outputUnitForEntity(f1));
+ Expect.equals(mainOutputUnit, outputUnitForEntity(f2));
});
}

Powered by Google App Engine
This is Rietveld 408576698