Lines Matching defs:target
94 TNode<Object> TargetInput() const { return JSCallNode{node_ptr()}.target(); }
828 return JSConstructNode{node_ptr()}.target();
910 Node* holder, const SharedFunctionInfoRef shared, Node* target,
918 target_(target),
1335 TNode<Object> target;
1349 params.jsgraph, params.shared, builtin, params.target, params.context,
1360 params.jsgraph, params.shared, builtin, params.target, params.context,
1373 TNode<Object> target = TargetInput();
1381 jsgraph(), shared, context, target, outer_frame_state,
1417 TNode<Object> target;
1430 params.jsgraph, params.shared, builtin, params.target, params.context,
1445 params.jsgraph, params.shared, builtin, params.target, params.context,
1459 params.jsgraph, params.shared, builtin, params.target, params.context,
1475 params.jsgraph, params.shared, builtin, params.target, params.context,
1488 TNode<Object> target = TargetInput();
1493 jsgraph(), shared, direction, context, target, outer_frame_state};
1591 TNode<Object> target;
1606 Builtin::kArrayMapPreLoopLazyDeoptContinuation, params.target,
1618 Builtin::kArrayMapLoopLazyDeoptContinuation, params.target,
1630 Builtin::kArrayMapLoopEagerDeoptContinuation, params.target,
1643 TNode<Object> target = TargetInput();
1663 jsgraph(), shared, context, target, outer_frame_state,
1708 TNode<Object> target;
1730 Builtin::kArrayFilterLoopLazyDeoptContinuation, params.target,
1753 Builtin::kArrayFilterLoopLazyDeoptContinuation, params.target,
1769 Builtin::kArrayFilterLoopEagerDeoptContinuation, params.target,
1783 TNode<Object> target = TargetInput();
1795 jsgraph(), shared, context, target, outer_frame_state,
1861 TNode<Object> target;
1877 params.jsgraph, params.shared, builtin, params.target, params.context,
1890 params.jsgraph, params.shared, builtin, params.target, params.context,
1906 params.jsgraph, params.shared, builtin, params.target, params.context,
1919 TNode<Object> target = TargetInput();
1927 jsgraph(), shared, context, target, outer_frame_state,
1976 TNode<Object> target;
1993 params.jsgraph, params.shared, builtin, params.target, params.context,
2007 params.jsgraph, params.shared, builtin, params.target, params.context,
2021 TNode<Object> target = TargetInput();
2029 jsgraph(), shared, context, target, outer_frame_state,
2158 TNode<Object> target;
2221 params.target, params.context, checkpoint_params,
2237 Builtin::kPromiseConstructorLazyDeoptContinuation, params.target,
2251 TNode<Object> target = TargetInput();
2253 DCHECK_EQ(target, NewTargetInput());
2260 target, outer_frame_state};
2513 Node* target = n.target();
2519 NodeProperties::ReplaceValueInput(node, target, 0);
2520 NodeProperties::ReplaceValueInput(node, target, 1);
2579 // The argArray was not provided, just remove the {target}.
2596 Node* target = n.receiver();
2608 node->ReplaceInput(n.TargetIndex(), target);
2647 target, this_argument, arguments_list, n.feedback_vector(), context,
2654 javascript()->Call(JSCallNode::ArityForArgc(0)), target, this_argument,
2699 // - target, which is Function.prototype.bind JSFunction
2824 Node* target = n.target();
2831 HeapObjectMatcher m(target);
2837 simplified()->LoadField(AccessBuilder::ForJSFunctionContext()), target,
2843 // Remove the target from {node} and use the receiver as target instead, and
2844 // the thisArg becomes the new target. If thisArg was not provided, insert
2854 // Just remove the target, which is the first value input.
3053 // ES6 section 26.1.1 Reflect.apply ( target, thisArgument, argumentsList )
3075 // ES6 section 26.1.2 Reflect.construct ( target, argumentsList [, newTarget] )
3111 // ES6 section 26.1.7 Reflect.getPrototypeOf ( target )
3114 Node* target = n.ArgumentOrUndefined(0, jsgraph());
3115 return ReduceObjectGetPrototype(node, target);
3145 Node* target = n.Argument(0);
3152 // Check whether {target} is a JSReceiver.
3153 Node* check = graph()->NewNode(simplified()->ObjectIsReceiver(), target);
3157 // Throw an appropriate TypeError if the {target} is not a JSReceiver.
3181 graph()->NewNode(common()->Call(call_descriptor), stub_code, target,
3216 Node* target = n.ArgumentOrUndefined(0, jsgraph());
3223 // Check whether {target} is a JSReceiver.
3224 Node* check = graph()->NewNode(simplified()->ObjectIsReceiver(), target);
3228 // Throw an appropriate TypeError if the {target} is not a JSReceiver.
3247 javascript()->HasProperty(FeedbackSource()), target, key,
3672 Node* target = n.target();
3844 shared, target, argc, effect);
3864 jsgraph(), shared, target, context, receiver, frame_state);
4176 // Check whether the given new target value is a constructor function. The
4177 // replacement {JSConstruct} operator only checks the passed target value
4178 // but relies on the new target value to be implicitly valid.
4188 Node* target, Effect effect, Control control) {
4344 Node* target = n.target();
4349 // Try to specialize JSCall {node}s with constant {target}s.
4350 HeapObjectMatcher m(target);
4408 // Don't mess with other {node}s that have a constant {target}.
4413 // If {target} is the result of a JSCreateClosure operation, we can
4416 // the {target} must have the same native context as the call site.
4417 // Same if the {target} is the result of a CheckClosure operation.
4418 if (target->opcode() == IrOpcode::kJSCreateClosure) {
4420 JSCreateClosureNode{target}.Parameters();
4422 } else if (target->opcode() == IrOpcode::kCheckClosure) {
4423 FeedbackCellRef cell = MakeRef(broker(), FeedbackCellOf(target->op()));
4433 // If {target} is the result of a JSCreateBoundFunction operation,
4434 // we can just fold the construction and call the bound target
4436 if (target->opcode() == IrOpcode::kJSCreateBoundFunction) {
4437 Node* bound_target_function = NodeProperties::GetValueInput(target, 0);
4438 Node* bound_this = NodeProperties::GetValueInput(target, 1);
4440 static_cast<int>(CreateBoundFunctionParametersOf(target->op()).arity());
4449 Node* value = NodeProperties::GetValueInput(target, 2 + i);
4469 if (!ShouldUseCallICFeedback(target) ||
4484 feedback_target = feedback.AsCall().target();
4493 // Check that the {target} is still the {target_function}.
4494 Node* check = graph()->NewNode(simplified()->ReferenceEqual(), target,
4510 // Check that {target} is a closure with given {feedback_cell},
4514 target, effect, control);
4530 Node* target = n.target();
4541 NodeProperties::ReplaceValueInputs(node, target);
4951 // Check if the target is a class constructor.
4952 // We need to check all cases where the target will be typed as Function
4956 Node* target = NodeProperties::GetValueInput(node, 0);
4958 HeapObjectMatcher m(target);
4965 } else if (target->opcode() == IrOpcode::kJSCreateClosure) {
4967 JSCreateClosureNode{target}.Parameters();
4969 } else if (target->opcode() == IrOpcode::kCheckClosure) {
4970 FeedbackCellRef cell = MakeRef(broker, FeedbackCellOf(target->op()));
4992 p.feedback(), p.speculation_mode(), p.feedback_relation(), n.target(),
5007 p.feedback(), p.speculation_mode(), p.feedback_relation(), n.target(),
5017 Node* target = n.target();
5030 base::Optional<HeapObjectRef> feedback_target = feedback.AsCall().target();
5040 // Check that the {target} is still the {array_function}.
5041 Node* check = graph()->NewNode(simplified()->ReferenceEqual(), target,
5071 if (target == new_target) {
5080 // Try to specialize JSConstruct {node}s with constant {target}s.
5081 HeapObjectMatcher m(target);
5085 // Raise a TypeError if the {target} is not a constructor.
5087 NodeProperties::ReplaceValueInputs(node, target);
5132 // If {target} is not the same as {new_target} (i.e. the Object
5179 // as new.target if {new_target} equals {target}.
5180 if (target == new_target) {
5188 target, new_target),
5211 // If {target} is the result of a JSCreateBoundFunction operation,
5212 // we can just fold the construction and construct the bound target
5214 if (target->opcode() == IrOpcode::kJSCreateBoundFunction) {
5215 Node* bound_target_function = NodeProperties::GetValueInput(target, 0);
5217 static_cast<int>(CreateBoundFunctionParametersOf(target->op()).arity());
5223 // as new.target if {new_target} equals {target}.
5224 if (target == new_target) {
5231 target, new_target),
5237 Node* value = NodeProperties::GetValueInput(target, 2 + i);
5451 n.target(), n.effect(), n.control());
5462 n.target(), n.effect(), n.control());
5832 Node* target = n.target();
6019 target, jsgraph()->UndefinedConstant(), entry,
6926 Node* target = jsgraph()->Constant(native_context().promise_then());
6927 NodeProperties::ReplaceValueInput(node, target, 0);
7057 Node* target = jsgraph()->Constant(native_context().promise_then());
7058 NodeProperties::ReplaceValueInput(node, target, n.TargetIndex());
7173 Node* target = n.target();
7195 jsgraph(), shared, Builtin::kGenericLazyDeoptContinuation, target,
7200 graph()->NewNode(javascript()->CreateTypedArray(), target, new_target,
7334 // We only optimize if we have target, receiver and key parameters.
7381 // We only optimize if we have target, receiver and key parameters.
8166 Node* target = n.target();
8180 target, context, stack_parameters, stack_parameter_count, frame_state,