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

Unified Diff: pkg/compiler/lib/src/universe/world_builder.dart

Issue 2554323002: Remove ResolutionEnqueuer._applyFirstMemberUse (Closed)
Patch Set: dartfmt Created 4 years 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/js_backend/backend.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/universe/world_builder.dart
diff --git a/pkg/compiler/lib/src/universe/world_builder.dart b/pkg/compiler/lib/src/universe/world_builder.dart
index dac0dbe2b7bd649da87c10888dd14c127399c859..68aaa56d7305163c2bc5326dfad2896df2c5cdaf 100644
--- a/pkg/compiler/lib/src/universe/world_builder.dart
+++ b/pkg/compiler/lib/src/universe/world_builder.dart
@@ -9,9 +9,9 @@ import 'dart:collection';
import '../cache_strategy.dart';
import '../common.dart';
import '../common/backend_api.dart' show Backend;
+import '../common/names.dart' show Identifiers;
import '../common/resolution.dart' show Resolution;
import '../compiler.dart' show Compiler;
-import '../core_types.dart' show CoreClasses;
import '../dart_types.dart';
import '../elements/elements.dart';
import '../elements/entities.dart';
@@ -859,6 +859,11 @@ class ResolutionWorldBuilderImpl implements ResolutionWorldBuilder {
if (member.isField && isNative) {
_openWorld.registerUsedElement(member);
}
+ if (member.isFunction &&
+ member.name == Identifiers.call &&
+ !cls.typeVariables.isEmpty) {
+ callMethodsWithFreeTypeVariables.add(member);
+ }
if (_hasInvokedGetter(member)) {
useSet.addAll(usage.read());
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698