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

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

Issue 2642063003: Use entities in class_stub_generator. (Closed)
Patch Set: 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/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index 2aa41562cdad0730035a80c0d622ac9878124be8..495bc7f1a1189025cabe80a0fa1db581d982ea6d 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -852,7 +852,7 @@ class JavaScriptBackend extends Backend {
return isNativeOrExtendsNative(element.superclass);
}
- bool isInterceptedMethod(Element element) {
+ bool isInterceptedMethod(MemberElement element) {
if (!element.isInstanceMember) return false;
if (element.isGenerativeConstructorBody) {
return isNativeOrExtendsNative(element.enclosingClass);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/namer.dart » ('j') | pkg/compiler/lib/src/js_emitter/class_stub_generator.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698