@@ -3125,7 +3125,7 @@ static void zend_jit_calc_trace_prologue_size(void)
3125
3125
zend_jit_trace_prologue_size = size;
3126
3126
}
3127
3127
3128
- #if !ZEND_WIN32 && !defined(IR_TARGET_AARCH64)
3128
+ #if !defined( ZEND_WIN32) && !defined(IR_TARGET_AARCH64)
3129
3129
static uintptr_t zend_jit_hybrid_vm_sp_adj = 0;
3130
3130
3131
3131
typedef struct _Unwind_Context _Unwind_Context;
@@ -3239,7 +3239,7 @@ static void zend_jit_setup(void)
3239
3239
zend_accel_error_noreturn(ACCEL_LOG_FATAL, "Could not enable JIT: offset >= size");
3240
3240
}
3241
3241
} while(0);
3242
- # elif ZEND_WIN32
3242
+ # elif defined( ZEND_WIN32)
3243
3243
tsrm_tls_index = _tls_index * sizeof(void*);
3244
3244
3245
3245
/* To find offset of "_tsrm_ls_cache" in TLS segment we perform a linear scan of local TLS memory */
@@ -3339,7 +3339,7 @@ static void zend_jit_setup(void)
3339
3339
# endif
3340
3340
#endif
3341
3341
3342
- #if !ZEND_WIN32 && !defined(IR_TARGET_AARCH64)
3342
+ #if !defined( ZEND_WIN32) && !defined(IR_TARGET_AARCH64)
3343
3343
if (zend_jit_vm_kind == ZEND_VM_KIND_HYBRID) {
3344
3344
zend_jit_set_sp_adj_vm(); // set zend_jit_hybrid_vm_sp_adj
3345
3345
}
@@ -5441,7 +5441,7 @@ static int zend_jit_add_arrays(zend_jit_ctx *jit, const zend_op *opline, uint32_
5441
5441
static int zend_jit_long_math_helper(zend_jit_ctx *jit,
5442
5442
const zend_op *opline,
5443
5443
uint8_t opcode,
5444
- uint8_t op1_type,
5444
+ uint8_t op1_type,
5445
5445
znode_op op1,
5446
5446
zend_jit_addr op1_addr,
5447
5447
uint32_t op1_info,
@@ -7982,7 +7982,7 @@ static int zend_jit_type_check(zend_jit_ctx *jit, const zend_op *opline, uint32_
7982
7982
7983
7983
if (op1_info & (MAY_BE_ANY|MAY_BE_REF)) {
7984
7984
mask = opline->extended_value;
7985
- if (!(op1_info & MAY_BE_GUARD) && !(op1_info & (MAY_BE_ANY - mask))) {
7985
+ if (!(op1_info & MAY_BE_GUARD) && !(op1_info & (MAY_BE_ANY - mask))) {
7986
7986
jit_FREE_OP(jit, opline->op1_type, opline->op1, op1_info, opline);
7987
7987
if (exit_addr) {
7988
7988
if (smart_branch_opcode == ZEND_JMPNZ) {
@@ -11840,7 +11840,7 @@ static int zend_jit_fetch_dimension_address_inner(zend_jit_ctx *jit,
11840
11840
if (opline->op2_type != IS_CONST) {
11841
11841
ir_ref if_num, end1, ref2;
11842
11842
11843
- if_num = ir_IF(
11843
+ if_num = ir_IF(
11844
11844
ir_ULE(
11845
11845
ir_LOAD_C(ir_ADD_OFFSET(key, offsetof(zend_string, val))),
11846
11846
ir_CONST_CHAR('9')));
@@ -16030,7 +16030,7 @@ static void *zend_jit_finish(zend_jit_ctx *jit)
16030
16030
// ir_mem_unprotect(entry, size);
16031
16031
if (!(jit->ctx.flags & IR_FUNCTION)
16032
16032
&& zend_jit_vm_kind == ZEND_VM_KIND_HYBRID) {
16033
- #if !ZEND_WIN32 && !defined(IR_TARGET_AARCH64)
16033
+ #if !defined( ZEND_WIN32) && !defined(IR_TARGET_AARCH64)
16034
16034
sp_offset = zend_jit_hybrid_vm_sp_adj;
16035
16035
#else
16036
16036
sp_offset = sizeof(void*);
0 commit comments