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

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

Issue 1165363004: Remove computeSignature from FunctionElement. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dart_backend/backend.dart
diff --git a/pkg/compiler/lib/src/dart_backend/backend.dart b/pkg/compiler/lib/src/dart_backend/backend.dart
index 717d7a7dadce89071d63253c94cf0301a178702a..47d942c8cdf0c17d399fbe2b9c5c671329be0e05 100644
--- a/pkg/compiler/lib/src/dart_backend/backend.dart
+++ b/pkg/compiler/lib/src/dart_backend/backend.dart
@@ -296,13 +296,11 @@ class DartBackend extends Backend {
// Register selectors for all instance methods since these might
// be called on user classes from within the platform
// implementation.
- superclass.forEachLocalMember((Element element) {
+ superclass.forEachLocalMember((MemberElement element) {
if (element.isConstructor || element.isStatic) return;
FunctionElement function = element.asFunctionElement();
- if (function != null) {
- function.computeSignature(compiler);
- }
+ element.computeType(compiler);
Selector selector = new Selector.fromElement(element);
if (selector.isGetter) {
registry.registerDynamicGetter(selector);
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698