Lines Matching refs:lambda
16 #include "lambda/box_table.h"
21 #include "lambda/closure.h"
22 #include "lambda/leaking_allocator.h"
30 namespace lambda {
31 // Temporarily represent the lambda Closure as its raw bytes in an array.
61 new_weaks_condition_("lambda box table allowed weaks", *Locks::lambda_table_lock_) {}
91 // Functional f = () -> 5; // vF = create-lambda
92 // Object a = f; // vA = box-lambda vA
93 // Object b = f; // vB = box-lambda vB
103 // Release the lambda table lock here, so that thread suspension is allowed.
106 // as the temporary 'boxed' version of the lambda. This is good enough
107 // to check all the basic object identities that a boxed lambda must retain.
110 // TODO: Boxing an innate lambda (i.e. made with create-lambda) should make a proxy class
111 // TODO: Boxing a learned lambda (i.e. made with unbox-lambda) should return the original object
224 * Visit every weak root in our lambda box table.
306 const lambda::Closure* closure = key;
307 DCHECK_ALIGNED(closure, alignof(lambda::Closure));
314 } // namespace lambda