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

Unified Diff: runtime/vm/object.cc

Issue 789643006: Introduce is_debuggable state bit on function objects (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « runtime/vm/object.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
===================================================================
--- runtime/vm/object.cc (revision 42569)
+++ runtime/vm/object.cc (working copy)
@@ -2669,6 +2669,7 @@
invocation.SetParameterNameAt(i, String::Handle(desc.NameAt(index)));
}
invocation.set_result_type(Type::Handle(Type::DynamicType()));
+ invocation.set_is_debuggable(false);
invocation.set_is_visible(false); // Not visible in stack trace.
invocation.set_saved_args_desc(args_desc);
@@ -6197,6 +6198,7 @@
result.set_is_external(is_external);
result.set_is_native(is_native);
result.set_is_visible(true); // Will be computed later.
+ result.set_is_debuggable(true); // Will be computed later.
result.set_is_intrinsic(false);
result.set_is_redirecting(false);
result.set_is_async_closure(false);
@@ -6222,7 +6224,6 @@
const ClosureData& data = ClosureData::Handle(ClosureData::New());
result.set_data(data);
}
-
return result.raw();
}
@@ -6297,6 +6298,7 @@
owner,
0));
ASSERT(!script.IsNull());
+ result.set_is_debuggable(false);
result.set_eval_script(script);
return result.raw();
}
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698