1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 06:02:23 +02:00

Fixed JIT with non-HYBRID VM

This commit is contained in:
Dmitry Stogov
2020-05-18 14:56:39 +03:00
parent 99611573f0
commit 7a07deca0f

View File

@@ -2297,6 +2297,10 @@ static int zend_jit_hybrid_trace_counter_stub(dasm_State **Dst, uint32_t cost)
static int zend_jit_hybrid_func_trace_counter_stub(dasm_State **Dst)
{
if (zend_jit_vm_kind != ZEND_VM_KIND_HYBRID) {
return 1;
}
|->hybrid_func_trace_counter:
return zend_jit_hybrid_trace_counter_stub(Dst, ZEND_JIT_COUNTER_FUNC_COST);