Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Zend/Optimizer/optimize_func_calls.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ static void zend_try_inline_call(zend_op_array *op_array, const zend_op *fcall,
return;
}

if (zend_call_has_generic_arguments_check(opline - 1)) {
if (op_array->generic_types
&& op_array->generic_types->turbofish_args
Comment thread
prateekbhujel marked this conversation as resolved.
&& zend_call_has_generic_arguments_check(opline - 1)) {
/* The verify opcode must run; inlining would orphan it. */
return;
}
Expand Down