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

Unified Diff: runtime/vm/object.h

Issue 868453002: Rename is_visible to is_reflectable; use is_debuggable instead of is_reflectable (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/vm/exceptions.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 dcf4b907d1bce22517a8f18deb77a9c51c17769f..768031ff59b7b4562462d2dd14bdc821e250eab0 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2169,15 +2169,32 @@ 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.
+ // static: Considered during class-side or top-level resolution rather than
+ // instance-side resolution.
+ // const: Valid target of a const constructor call.
+ // abstract: Skipped during instance-side resolution.
+ // reflectable: Enumerated by mirrors, invocable by mirrors. False for private
+ // functions of dart: libraries.
+ // debuggable: Valid location of a break point. True for functions with source
+ // code; false for synthetic functions such as dispatchers. Also
+ // used to decide whether to include a frame in stack traces.
+ // optimizable: Candidate for going through the optimizing compiler. False for
+ // some functions known to be execute infrequently and functions
+ // which have been de-optimized too many times.
+ // instrinsic: Has a hand-written assembly prologue.
+ // inlinable: Candidate for inlining. False for functions with features we
+ // don't support during inlining (e.g., optional parameters),
+ // functions which are too big, etc.
+ // native: Bridge to C/C++ code.
+ // redirecting: Redirecting generative or factory constructor.
+ // external: Just a declaration that expects to be defined in another patch
+ // file.
#define FOR_EACH_FUNCTION_KIND_BIT(V) \
V(Static, is_static) \
V(Const, is_const) \
V(Abstract, is_abstract) \
- V(Visible, is_visible) \
+ V(Reflectable, is_reflectable) \
V(Debuggable, is_debuggable) \
V(Optimizable, is_optimizable) \
V(Inlinable, is_inlinable) \
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698