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

Unified Diff: pkg/compiler/lib/src/enqueue.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
Index: pkg/compiler/lib/src/enqueue.dart
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
index 3d2bb00b7c8eec5cfe8714718db6efcd9e6cea79..de67c2cea89521e91e9e5e2662699f4edd39f828 100644
--- a/pkg/compiler/lib/src/enqueue.dart
+++ b/pkg/compiler/lib/src/enqueue.dart
@@ -189,7 +189,7 @@ abstract class Enqueuer {
}
} else if (member.kind == ElementKind.FUNCTION) {
FunctionElement function = member;
- function.computeSignature(compiler);
+ function.computeType(compiler);
if (function.name == Compiler.NO_SUCH_METHOD) {
registerNoSuchMethod(function);
}
@@ -215,7 +215,7 @@ abstract class Enqueuer {
}
} else if (member.kind == ElementKind.GETTER) {
FunctionElement getter = member;
- getter.computeSignature(compiler);
+ getter.computeType(compiler);
if (universe.hasInvokedGetter(getter, compiler.world)) {
addToWorkList(getter);
return;
@@ -228,7 +228,7 @@ abstract class Enqueuer {
}
} else if (member.kind == ElementKind.SETTER) {
FunctionElement setter = member;
- setter.computeSignature(compiler);
+ setter.computeType(compiler);
if (universe.hasInvokedSetter(setter, compiler.world)) {
addToWorkList(setter);
return;
« no previous file with comments | « pkg/compiler/lib/src/elements/modelx.dart ('k') | pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698