Lines Matching defs:call
5 #include "src/compiler/tail-call-optimization.h"
19 // The value which is returned must be the result of a potential tail call,
22 Node* const call = NodeProperties::GetValueInput(node, 1);
23 if (call->opcode() == IrOpcode::kCall &&
24 CallDescriptorOf(call->op())->SupportsTailCalls() &&
25 NodeProperties::GetEffectInput(node) == call &&
26 !NodeProperties::IsExceptionalCall(call)) {
29 // the CallDescriptor, otherwise the tail call transformation is invalid.
32 call->OwnedBy(node, control) && control->OwnedBy(node)) {
68 DCHECK_EQ(call, NodeProperties::GetControlInput(control, 0));
70 node->ReplaceInput(0, NodeProperties::GetEffectInput(call));
71 node->ReplaceInput(1, NodeProperties::GetControlInput(call));
74 for (int index = 0; index < call->op()->ValueInputCount(); ++index) {
76 NodeProperties::GetValueInput(call, index));
79 node, common()->TailCall(CallDescriptorOf(call->op())));