Lines Matching defs:handler
21 TNode<JSReceiver> handler) {
60 StoreObjectFieldNoWriteBarrier(proxy, JSProxy::kHandlerOffset, handler);
101 // 1. Let handler be the value of the [[ProxyHandler]] internal slot of O.
102 TNode<HeapObject> handler =
105 // 2. If handler is null, throw a TypeError exception.
106 CSA_DCHECK(this, IsNullOrJSReceiver(handler));
107 GotoIfNot(IsJSReceiver(handler), &throw_proxy_handler_revoked);
109 // 3. Assert: Type(handler) is Object.
110 CSA_DCHECK(this, IsJSReceiver(handler));
115 // 5. Let trap be ? GetMethod(handler, "apply").
118 TNode<Object> trap = GetMethod(context, handler, trap_name, &trap_undefined);
129 // 8. Return Call(trap, handler, «target, thisArgument, argArray»).
130 TNode<Object> result = Call(context, trap, handler, target, receiver, array);
155 // 1. Let handler be the value of the [[ProxyHandler]] internal slot of O.
156 TNode<HeapObject> handler =
159 // 2. If handler is null, throw a TypeError exception.
160 CSA_DCHECK(this, IsNullOrJSReceiver(handler));
161 GotoIfNot(IsJSReceiver(handler), &throw_proxy_handler_revoked);
163 // 3. Assert: Type(handler) is Object.
164 CSA_DCHECK(this, IsJSReceiver(handler));
169 // 5. Let trap be ? GetMethod(handler, "construct").
172 TNode<Object> trap = GetMethod(context, handler, trap_name, &trap_undefined);
182 // 8. Let newObj be ? Call(trap, handler, « target, argArray, newTarget »).
184 Call(context, trap, handler, target, array, new_target);