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

Side by Side Diff: runtime/observatory/lib/src/models/objects/function.dart

Issue 2989493002: Simplify and fix implicit closure check, speed up Closure_equals (Closed)
Patch Set: Avoid overloaded NewClosureFunction Created 3 years, 5 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 part of models; 5 part of models;
6 6
7 enum FunctionKind { 7 enum FunctionKind {
8 regular, 8 regular,
9 closure, 9 closure,
10 implicitClosure,
10 getter, 11 getter,
11 setter, 12 setter,
12 constructor, 13 constructor,
13 implicitGetter, 14 implicitGetter,
14 implicitSetter, 15 implicitSetter,
15 implicitStaticFinalGetter, 16 implicitStaticFinalGetter,
16 irregexpFunction, 17 irregexpFunction,
17 staticInitializer, 18 staticInitializer,
18 methodExtractor, 19 methodExtractor,
19 noSuchMethodDispatcher, 20 noSuchMethodDispatcher,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 FieldRef get field; 89 FieldRef get field;
89 int get usageCounter; 90 int get usageCounter;
90 InstanceRef get icDataArray; 91 InstanceRef get icDataArray;
91 int get deoptimizations; 92 int get deoptimizations;
92 bool get isOptimizable; 93 bool get isOptimizable;
93 bool get isInlinable; 94 bool get isInlinable;
94 bool get hasIntrinsic; 95 bool get hasIntrinsic;
95 bool get isRecognized; 96 bool get isRecognized;
96 bool get isNative; 97 bool get isNative;
97 } 98 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698