Lines Matching defs:closure
2603 Named_object* closure = this_function->func_value()->closure_var();
2606 // of this variable in the closure. We add 1 to the current number
2607 // of enclosed variables, because the first field in the closure
2615 // to the closure type.
2619 Expression* closure_ref = Expression::make_var_reference(closure,
2623 // The closure structure holds pointers to the variables, so we need
2865 Expression* closure = this->create_closure(no, &hold_enclosing_vars,
2868 return Expression::make_func_reference(no, closure, location);
2871 // Create a closure for the nested function FUNCTION. This is based
2873 // enclosing functions and referenced from FUNCTION. A closure is the
2876 // returns NULL if no closure is required.
2897 // Build an initializer for a composite literal of the closure's
2908 // Add 1 to i because the first field in the closure is a
5765 // We could be looking at a variable referenced from a closure.
5768 Named_object* closure = this_function->closure_var();
5769 if (closure != NULL)