| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 15763)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -1145,6 +1145,12 @@
|
| RawCode* closure_allocation_stub() const;
|
| void set_closure_allocation_stub(const Code& value) const;
|
|
|
| + // Returns true iff an implicit closure function has been created
|
| + // for this function.
|
| + bool HasImplicitClosureFunction() const {
|
| + return implicit_closure_function() != null();
|
| + }
|
| +
|
| // Return the closure function implicitly created for this function.
|
| // If none exists yet, create one and remember it.
|
| RawFunction* ImplicitClosureFunction() const;
|
|
|