1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00

Merge branch 'PHP-8.1'

* PHP-8.1:
  JIT: Fix incorrect JIT prologur size for CLANG/x86 build
This commit is contained in:
Dmitry Stogov
2021-12-20 23:53:59 +03:00

View File

@@ -3453,7 +3453,7 @@ static int zend_jit_trace_link_to_root(dasm_State **Dst, zend_jit_trace_info *t,
#if defined(__x86_64__) || defined(_M_X64)
prologue_size = 17;
#else
prologue_size = 12;
prologue_size = 13;
#endif
}
link_addr = (const void*)((const char*)t->code_start + prologue_size);