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

Unified Diff: runtime/vm/parser.cc

Issue 1282633002: Make constructor closure functions invisible on the stack (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index 116388b328332fb66d9d187994f3784c8c78da03..419cd4e151de9abb07b46e48f1f77701f1ae317e 100644
--- a/runtime/vm/parser.cc
+++ b/runtime/vm/parser.cc
@@ -12884,6 +12884,7 @@ RawFunction* Parser::BuildConstructorClosureFunction(const Function& ctr,
token_pos);
closure.set_is_generated_body(true);
closure.set_is_debuggable(false);
+ closure.set_is_visible(false);
closure.set_result_type(AbstractType::Handle(Type::DynamicType()));
AddFormalParamsToFunction(&params, closure);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698