File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2660,14 +2660,14 @@ static void zend_jit_init_ctx(zend_jit_ctx *jit, uint32_t flags)
26602660 * of saving ZREG_FP, ZREG_IP when GCC_GLOBAL_REGS is 1, so we don't
26612661 * have to save them. When GCC_GLOBAL_REGS is 1, always save them.
26622662 */
2663- #if GCC_GLOBAL_REGS
2664- jit->ctx.fixed_save_regset = IR_REGSET_PRESERVED & ~((1<<ZREG_FP) | (1<<ZREG_IP));
2665- #else
2666- jit->ctx.fixed_save_regset = IR_REGSET_PRESERVED;
2667- #endif
2663+ if (GCC_GLOBAL_REGS) {
2664+ jit->ctx.fixed_save_regset = IR_REGSET_PRESERVED & ~((1<<ZREG_FP) | (1<<ZREG_IP));
2665+ } else {
2666+ jit->ctx.fixed_save_regset = IR_REGSET_PRESERVED;
26682667//#ifdef _WIN64
26692668// jit->ctx.fixed_save_regset &= 0xffff; // TODO: don't save FP registers ???
26702669//#endif
2670+ }
26712671#ifdef _WIN64
26722672 jit->ctx.fixed_call_stack_size = 16 + IR_SHADOW_ARGS;
26732673#else
You can’t perform that action at this time.
0 commit comments