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

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

Issue 2814453005: Merge CommonElements and BackendHelpers! (Closed)
Patch Set: comments and re-merge, take two Created 3 years, 8 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
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/resolution_test.dart
diff --git a/tests/compiler/dart2js/resolution_test.dart b/tests/compiler/dart2js/resolution_test.dart
index 8ad71c2af30c7a38871bcbbc58088d808238b518..c905c7db473f8d4cb26bdf7e2deac635f5f426e1 100644
--- a/tests/compiler/dart2js/resolution_test.dart
+++ b/tests/compiler/dart2js/resolution_test.dart
@@ -102,7 +102,7 @@ void test(String code, void check(CompilerImpl compiler)) {
void testHasRuntimeType(String code) {
test(code, (compiler) {
- var element = compiler.backend.helpers.createRuntimeType;
+ var element = compiler.commonElements.createRuntimeType;
Expect.isTrue(
compiler.enqueuer.resolution.processedEntities.contains(element));
});
@@ -110,7 +110,7 @@ void testHasRuntimeType(String code) {
main() {
test(NO_RUNTIME_TYPE, (compiler) {
- var element = compiler.backend.helpers.createRuntimeType;
+ var element = compiler.commonElements.createRuntimeType;
Expect.isFalse(
compiler.enqueuer.resolution.processedEntities.contains(element));
});
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698