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

Unified Diff: runtime/observatory/lib/src/service/object.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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index db31bb76cfafbd94dd3eb6087fde609362e2e0a5..246fba9f85110b8cdf473f2221350a625a9c0b3e 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -3007,6 +3007,8 @@ M.FunctionKind stringToFunctionKind(String value) {
return M.FunctionKind.regular;
case 'ClosureFunction':
return M.FunctionKind.closure;
+ case 'ImplicitClosureFunction':
+ return M.FunctionKind.implicitClosure;
case 'GetterFunction':
return M.FunctionKind.getter;
case 'SetterFunction':

Powered by Google App Engine
This is Rietveld 408576698