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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 223403003: Use closure tracer to identify closures that are not passed to Function.apply (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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: sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 2e5dd423421e4c1cabac929dbe333cc4bc89d8aa..29f77b55499d9647d5a0bc142e486446c4f627bf 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -830,6 +830,8 @@ abstract class FunctionElement extends Element
FunctionElement get origin;
bool get isRedirectingFactory;
+ void set mightBePassedToFunctionApply(bool value);
karlklose 2014/04/03 08:37:28 Please add these to the world: it is a global prop
ngeoffray 2014/04/03 08:49:36 Also, as a general principle, you should not touch
herhut 2014/04/14 08:21:47 Done.
herhut 2014/04/14 08:21:47 Done.
+ bool get mightBePassedToFunctionApply;
/**
* Compute the type of the target of a constructor for an instantiation site
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/closure.dart ('k') | sdk/lib/_internal/compiler/implementation/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698