27
27
|.define FP, r14
28
28
|.define IP, r15
29
29
|.define IPl, r15d
30
- |.define RX, r15 // the same as VM IP reused as a general purpos reg
30
+ |.define RX, r15 // the same as VM IP reused as a general purpose reg
31
31
|.define CARG1, rcx // x64/POSIX C call arguments.
32
32
|.define CARG2, rdx
33
33
|.define CARG3, r8
51
51
|.define FP, r14
52
52
|.define IP, r15
53
53
|.define IPl, r15d
54
- |.define RX, r15 // the same as VM IP reused as a general purpos reg
54
+ |.define RX, r15 // the same as VM IP reused as a general purpose reg
55
55
|.define CARG1, rdi // x64/POSIX C call arguments.
56
56
|.define CARG2, rsi
57
57
|.define CARG3, rdx
77
77
|.define FP, esi
78
78
|.define IP, edi
79
79
|.define IPl, edi
80
- |.define RX, edi // the same as VM IP reused as a general purpos reg
80
+ |.define RX, edi // the same as VM IP reused as a general purpose reg
81
81
|.define FCARG1a, ecx // x86 fastcall arguments.
82
82
|.define FCARG2a, edx
83
83
|.define FCARG1d, ecx
@@ -286,7 +286,7 @@ static void* dasm_labels[zend_lb_MAX];
286
286
287
287
/* In 64-bit build we compare only low 32-bits.
288
288
* x86_64 cmp instruction doesn't support immediate 64-bit operand, and full
289
- * comparison would require additinal load of 64-bit address into register.
289
+ * comparison would require an additional load of 64-bit address into register.
290
290
* This is not a problem at all, while JIT buffer size is less than 4GB.
291
291
*/
292
292
|.macro CMP_IP, addr
@@ -2382,7 +2382,7 @@ static int zend_jit_trace_exit_stub(dasm_State **Dst)
2382
2382
|.else
2383
2383
| add r4, 8*4+8*8 /* CPU regs + SSE regs */
2384
2384
|.endif
2385
- | // execute_data = EG(current_excute_data )
2385
+ | // execute_data = EG(current_execute_data )
2386
2386
| MEM_OP2_2_ZTS mov, FP, aword, executor_globals, current_execute_data, r0
2387
2387
| test eax, eax
2388
2388
| jl ->trace_halt
@@ -7969,7 +7969,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
7969
7969
}
7970
7970
}
7971
7971
if (!func) {
7972
- /* resolve function ar run time */
7972
+ /* resolve function at run time */
7973
7973
} else if (func->type == ZEND_USER_FUNCTION) {
7974
7974
ZEND_ASSERT(opline->opcode != ZEND_DO_ICALL);
7975
7975
call_num_args = call_info->num_args;
@@ -7978,7 +7978,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
7978
7978
call_num_args = call_info->num_args;
7979
7979
#if ZEND_DEBUG
7980
7980
if (func->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) {
7981
- // TODO: Mow most internal functions have type hints ???
7981
+ // TODO: Now most internal functions have type hints ???
7982
7982
if (!trace) {
7983
7983
goto fallback;
7984
7984
}
@@ -8391,7 +8391,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
8391
8391
}
8392
8392
8393
8393
if (trace) {
8394
- // TODO: This is a qucik dirty fix ??????
8394
+ // TODO: This is a quick dirty fix ??????
8395
8395
//
8396
8396
// Internal function may call another trace that,
8397
8397
// replaces EG(trace_id) and the following side exit
@@ -10298,7 +10298,7 @@ static uint32_t zend_get_known_property_offset(zend_class_entry *ce, zend_string
10298
10298
}
10299
10299
10300
10300
if (ce->info.user.filename != filename) {
10301
- /* class declaration might be changed infdependently */
10301
+ /* class declaration might be changed independently */
10302
10302
return ZEND_WRONG_PROPERTY_OFFSET;
10303
10303
}
10304
10304
@@ -10309,7 +10309,7 @@ static uint32_t zend_get_known_property_offset(zend_class_entry *ce, zend_string
10309
10309
if (parent->type == ZEND_INTERNAL_CLASS) {
10310
10310
break;
10311
10311
} else if (parent->info.user.filename != filename) {
10312
- /* some of parents class declarations might be changed infdependently */
10312
+ /* some of parents class declarations might be changed independently */
10313
10313
/* TODO: this check may be not enough, because even
10314
10314
* in the same it's possible to conditionally define
10315
10315
* few classes with the same name, and "parent" may
@@ -10345,7 +10345,7 @@ static zend_bool zend_may_be_dynamic_property(zend_class_entry *ce, zend_string
10345
10345
}
10346
10346
10347
10347
if (ce->info.user.filename != filename) {
10348
- /* class declaration might be changed infdependently */
10348
+ /* class declaration might be changed independently */
10349
10349
return 1;
10350
10350
}
10351
10351
@@ -11052,7 +11052,7 @@ static zend_bool zend_jit_var_supports_reg(zend_ssa *ssa, int var)
11052
11052
11053
11053
if (zend_jit_reg_alloc < ZEND_JIT_REG_ALLOC_GLOBAL) {
11054
11054
/* Disable global register allocation,
11055
- * register allocation forSAA variables connected through Phi functions
11055
+ * register allocation for SSA variables connected through Phi functions
11056
11056
*/
11057
11057
if (ssa->vars[var].definition_phi) {
11058
11058
return 0;
0 commit comments