Skip to content

Commit 7a3ac9f

Browse files
committed
Bail out from tracing JIT
I wasn't able to make this work with tracing JIT quickly.
1 parent 36cb11f commit 7a3ac9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: ext/opcache/jit/zend_jit_vm_helpers.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,9 @@ zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex,
740740
}
741741
TRACE_RECORD(ZEND_JIT_TRACE_DO_ICALL, 0, EX(call)->func);
742742
}
743-
} else if (opline->opcode == ZEND_INCLUDE_OR_EVAL) {
743+
} else if (opline->opcode == ZEND_INCLUDE_OR_EVAL
744+
|| opline->opcode == ZEND_CALLABLE_CONVERT) {
745+
/* TODO: Support tracing JIT for ZEND_CALLABLE_CONVERT. */
744746
stop = ZEND_JIT_TRACE_STOP_INTERPRETER;
745747
break;
746748
}

0 commit comments

Comments
 (0)