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

Unified Diff: runtime/vm/object.h

Issue 862093003: Reapply "Mark all private functions in dart: libraries as invisible (*sniff*). Previously these fun… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « runtime/lib/mirrors.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index eeb2a41ad520301d79b2635c4b11b7147c51607e..7d9f4633a3a3ec3cba4f9d11ae007d9b620eec92 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2169,6 +2169,10 @@ class Function : public Object {
void set_modifier(RawFunction::AsyncModifier value) const;
+ // An invisible function is hidden from stack traces, will not be enumerated
+ // by mirrors, and cannot be directly invoked by mirrors. All private
+ // functions in dart:* libraries are marked invisible by the parser.
+
#define FOR_EACH_FUNCTION_KIND_BIT(V) \
V(Static, is_static) \
V(Const, is_const) \
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698