File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4696,6 +4696,7 @@ static int zend_jit_make_stubs(void)
4696
4696
4697
4697
for (i = 0 ; i < sizeof (zend_jit_stubs )/sizeof (zend_jit_stubs [0 ]); i ++ ) {
4698
4698
dasm_setup (& dasm_state , dasm_actions );
4699
+ zend_jit_align_stub (& dasm_state );
4699
4700
if (!zend_jit_stubs [i ].stub (& dasm_state )) {
4700
4701
return 0 ;
4701
4702
}
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ static const void *zend_jit_trace_allocate_exit_group(uint32_t n)
94
94
dasm_init (& dasm_state , DASM_MAXSECTION );
95
95
dasm_setupglobal (& dasm_state , dasm_labels , zend_lb_MAX );
96
96
dasm_setup (& dasm_state , dasm_actions );
97
+ zend_jit_align_stub (& dasm_state );
97
98
zend_jit_trace_exit_group_stub (& dasm_state , n );
98
99
99
100
sprintf (name , "jit$$trace_exit_%d" , n );
Original file line number Diff line number Diff line change @@ -3070,6 +3070,12 @@ static int zend_jit_align_func(dasm_State **Dst)
3070
3070
return 1;
3071
3071
}
3072
3072
3073
+ static int zend_jit_align_stub(dasm_State **Dst)
3074
+ {
3075
+ |.align 16
3076
+ return 1;
3077
+ }
3078
+
3073
3079
static int zend_jit_prologue(dasm_State **Dst)
3074
3080
{
3075
3081
| ENDBR
You can’t perform that action at this time.
0 commit comments