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

Unified Diff: pkg/compiler/lib/src/js_backend/runtime_types.dart

Issue 1413213004: Move remaining helpers to BackendHelpers (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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: pkg/compiler/lib/src/js_backend/runtime_types.dart
diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart
index 7d1c0a4e3c090b266f0a72970d3fb101f7fd1839..849fae3ca01a71298633aa19f7742c1e88d303d8 100644
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
@@ -264,9 +264,9 @@ class _RuntimeTypes implements RuntimeTypes {
// the calls of the list constructor whenever we determine that
// JSArray needs type arguments.
// TODO(karlklose): make this dependency visible from code.
- if (backend.jsArrayClass != null) {
+ if (backend.helpers.jsArrayClass != null) {
registerRtiDependency(
- backend.jsArrayClass, compiler.coreClasses.listClass);
+ backend.helpers.jsArrayClass, compiler.coreClasses.listClass);
}
// Compute the set of all classes and methods that need runtime type
// information.

Powered by Google App Engine
This is Rietveld 408576698