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

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

Issue 2644533002: Mostly use entities in use.dart (Closed)
Patch Set: Fixes Created 3 years, 11 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/checked_mode_helpers.dart
diff --git a/pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart b/pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart
index 818f82c4b6e320e2b0b21e34aecd44bccbdf0808..613abf9fb86d7f097dcbeb9d3e85c5fcb7f8fb8c 100644
--- a/pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart
+++ b/pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart
@@ -22,8 +22,8 @@ class CheckedModeHelper {
JavaScriptBackend backend = compiler.backend;
// TODO(johnniwinther): Refactor this to avoid looking up directly in the
// js helper library but instead access helpers directly on backend helpers.
- return new StaticUse.staticInvoke(
- backend.helpers.jsHelperLibrary.find(name), callStructure);
+ MethodElement method = backend.helpers.jsHelperLibrary.find(name);
+ return new StaticUse.staticInvoke(method, callStructure);
}
CallStructure get callStructure => CallStructure.ONE_ARG;

Powered by Google App Engine
This is Rietveld 408576698