Skip to content

Commit a5a18f5

Browse files
committed
Fix MACOS ZTS in IR JIT
1 parent 724b8b7 commit a5a18f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/opcache/jit/ir

Submodule ir updated 1 file

ext/opcache/jit/zend_jit_ir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ static ir_ref jit_TLS(zend_jit_ctx *jit)
457457
}
458458
jit->tls = ir_TLS(
459459
tsrm_ls_cache_tcb_offset ? tsrm_ls_cache_tcb_offset : tsrm_tls_index,
460-
tsrm_ls_cache_tcb_offset ? 0 : tsrm_tls_offset);
460+
tsrm_ls_cache_tcb_offset ? IR_NULL : tsrm_tls_offset);
461461
return jit->tls;
462462
}
463463
#endif

0 commit comments

Comments
 (0)