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

Unified Diff: runtime/vm/object.h

Issue 10821076: - Allow parsing of external methods. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 9985)
+++ runtime/vm/object.h (working copy)
@@ -1401,6 +1401,7 @@
bool is_static() const { return raw_ptr()->is_static_; }
bool is_const() const { return raw_ptr()->is_const_; }
+ bool is_external() const { return raw_ptr()->is_external_; }
bool IsConstructor() const {
return (kind() == RawFunction::kConstructor) && !is_static();
}
@@ -1599,6 +1600,7 @@
RawFunction::Kind kind,
bool is_static,
bool is_const,
+ bool is_external,
intptr_t token_pos);
// Allocates a new Function object representing a closure function, as well as
@@ -1618,6 +1620,7 @@
void set_kind(RawFunction::Kind value) const;
void set_is_static(bool is_static) const;
void set_is_const(bool is_const) const;
+ void set_is_external(bool value) const;
void set_parent_function(const Function& value) const;
void set_token_pos(intptr_t value) const;
void set_implicit_closure_function(const Function& value) const;

Powered by Google App Engine
This is Rietveld 408576698