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

Side by Side 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, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library elements; 5 library elements;
6 6
7 7
8 import '../tree/tree.dart'; 8 import '../tree/tree.dart';
9 import '../util/util.dart'; 9 import '../util/util.dart';
10 import '../resolution/resolution.dart'; 10 import '../resolution/resolution.dart';
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 FunctionExpression get node; 823 FunctionExpression get node;
824 DartType get type; 824 DartType get type;
825 FunctionSignature get functionSignature; 825 FunctionSignature get functionSignature;
826 FunctionElement get redirectionTarget; 826 FunctionElement get redirectionTarget;
827 FunctionElement get defaultImplementation; 827 FunctionElement get defaultImplementation;
828 828
829 FunctionElement get patch; 829 FunctionElement get patch;
830 FunctionElement get origin; 830 FunctionElement get origin;
831 831
832 bool get isRedirectingFactory; 832 bool get isRedirectingFactory;
833 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.
834 bool get mightBePassedToFunctionApply;
833 835
834 /** 836 /**
835 * Compute the type of the target of a constructor for an instantiation site 837 * Compute the type of the target of a constructor for an instantiation site
836 * with type [:newType:]. 838 * with type [:newType:].
837 */ 839 */
838 InterfaceType computeTargetType(InterfaceType newType); 840 InterfaceType computeTargetType(InterfaceType newType);
839 841
840 // TODO(kasperl): These are bit fishy. Do we really need them? 842 // TODO(kasperl): These are bit fishy. Do we really need them?
841 void set patch(FunctionElement value); 843 void set patch(FunctionElement value);
842 void set origin(FunctionElement value); 844 void set origin(FunctionElement value);
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 InterfaceType get declarer; 1128 InterfaceType get declarer;
1127 1129
1128 /// Returns `true` if this member is static. 1130 /// Returns `true` if this member is static.
1129 bool get isStatic; 1131 bool get isStatic;
1130 1132
1131 /// Returns `true` if this member is a getter or setter implicitly declared 1133 /// Returns `true` if this member is a getter or setter implicitly declared
1132 /// by a field. 1134 /// by a field.
1133 bool get isDeclaredByField; 1135 bool get isDeclaredByField;
1134 } 1136 }
1135 1137
OLDNEW
« 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