Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 2f9702bba81fe090dc55cb5957b84e0059c99e30..2c18c69863f752bb40f7a4c3ab289fcf8f1b7067 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -1468,9 +1468,6 @@ class Function : public Object { |
RawClass* signature_class() const; |
void set_signature_class(const Class& value) const; |
- RawInstance* implicit_static_closure() const; |
- void set_implicit_static_closure(const Instance& closure) const; |
- |
RawCode* closure_allocation_stub() const; |
void set_closure_allocation_stub(const Code& value) const; |
@@ -1502,6 +1499,10 @@ class Function : public Object { |
// If none exists yet, create one and remember it. |
RawFunction* ImplicitClosureFunction() const; |
+ // Return the closure implicitly created for this function. |
+ // If none exists yet, create one and remember it. |
+ RawInstance* ImplicitStaticClosure() const; |
+ |
// Redirection information for a redirecting factory. |
bool IsRedirectingFactory() const; |
RawType* RedirectionType() const; |
@@ -1862,6 +1863,8 @@ class Function : public Object { |
void set_owner(const Object& value) const; |
RawFunction* implicit_closure_function() const; |
void set_implicit_closure_function(const Function& value) const; |
+ RawInstance* implicit_static_closure() const; |
+ void set_implicit_static_closure(const Instance& closure) const; |
void set_num_optional_parameters(intptr_t value) const; // Encoded value. |
void set_kind_tag(intptr_t value) const; |
void set_data(const Object& value) const; |