@@ -1623,16 +1623,6 @@ static size_t tsrm_tls_offset;
1623
1623
|| }
1624
1624
|.endmacro
1625
1625
1626
- |.macro ENDBR
1627
- ||#if defined (__CET__) && (__CET__ & 1) != 0
1628
- | .if X64
1629
- | endbr64
1630
- | .else
1631
- | endbr32
1632
- | .endif
1633
- ||#endif
1634
- |.endmacro
1635
-
1636
1626
static bool reuse_ip = 0;
1637
1627
static bool delayed_call_chain = 0;
1638
1628
static uint32_t delayed_call_level = 0;
@@ -2302,7 +2292,6 @@ static int zend_jit_hybrid_hot_code_stub(dasm_State **Dst)
2302
2292
*/
2303
2293
static int zend_jit_hybrid_hot_counter_stub(dasm_State **Dst, uint32_t cost)
2304
2294
{
2305
- | ENDBR
2306
2295
| mov r0, EX->func
2307
2296
| mov r1, aword [r0 + offsetof(zend_op_array, reserved[zend_func_info_rid])]
2308
2297
| mov r2, aword [r1 + offsetof(zend_jit_op_array_hot_extension, counter)]
@@ -2373,7 +2362,6 @@ static int zend_jit_hybrid_hot_trace_stub(dasm_State **Dst)
2373
2362
2374
2363
static int zend_jit_hybrid_trace_counter_stub(dasm_State **Dst, uint32_t cost)
2375
2364
{
2376
- | ENDBR
2377
2365
| mov r0, EX->func
2378
2366
| mov r1, aword [r0 + offsetof(zend_op_array, reserved[zend_func_info_rid])]
2379
2367
| mov r1, aword [r1 + offsetof(zend_jit_op_array_trace_extension, offset)]
@@ -3061,7 +3049,6 @@ static int zend_jit_align_func(dasm_State **Dst)
3061
3049
3062
3050
static int zend_jit_prologue(dasm_State **Dst)
3063
3051
{
3064
- | ENDBR
3065
3052
if (zend_jit_vm_kind == ZEND_VM_KIND_HYBRID) {
3066
3053
| SUB_HYBRID_SPAD
3067
3054
} else if (GCC_GLOBAL_REGS) {
0 commit comments