| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 604b697fe5595414a13d8b3ad401b0938df40ebe..04086a1802d141a3a9e9c79c4b9a4ee57bfaa052 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -6667,6 +6667,16 @@ RawFunction* Function::ImplicitClosureFunction() const {
|
| }
|
|
|
|
|
| +void Function::DropUncompiledImplicitClosureFunction() const {
|
| + if (implicit_closure_function() != Function::null()) {
|
| + const Function& func = Function::Handle(implicit_closure_function());
|
| + if (!func.HasCode()) {
|
| + set_data(Object::null_object());
|
| + }
|
| + }
|
| +}
|
| +
|
| +
|
| RawString* Function::UserVisibleFormalParameters() const {
|
| // Typically 3, 5,.. elements in 'pieces', e.g.:
|
| // '_LoadRequest', CommaSpace, '_LoadError'.
|
|
|