Skip to content

Commit 54febdb

Browse files
TysonAndrekocsismate
authored andcommitted
Fix other typos in param name/code comments
Closes GH-5502
1 parent 1dbf923 commit 54febdb

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Zend/zend_gc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static zend_always_inline void gc_check_possible_root(zend_refcounted *ref)
8585
}
8686

8787
/* These APIs can be used to simplify object get_gc implementations
88-
* over heterogenous structures. See zend_generator_get_gc() for
88+
* over heterogeneous structures. See zend_generator_get_gc() for
8989
* a usage example. */
9090

9191
typedef struct {

ext/com_dotnet/com_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include "php_com_dotnet_internal.h"
2626
#include "Zend/zend_exceptions.h"
2727

28-
static zval *com_property_read(zend_object *object, zend_string *member, int type, void **cahce_slot, zval *rv)
28+
static zval *com_property_read(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv)
2929
{
3030
php_com_dotnet_object *obj;
3131
VARIANT v;

ext/opcache/Optimizer/zend_optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ zend_function *zend_optimizer_get_called_func(
842842
* as a prototype, as it may be overridden with changed signature. */
843843
return same_scope ? fbc : NULL;
844844
}
845-
/* If the method is non-final, it may be overriden,
845+
/* If the method is non-final, it may be overridden,
846846
* but only with a compatible method signature. */
847847
*is_prototype = !is_final;
848848
return fbc;

ext/opcache/jit/zend_jit_trace.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2569,7 +2569,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
25692569
}
25702570
}
25712571

2572-
// TODO: Merge two loops implementing paralel move ???
2572+
// TODO: Merge two loops implementing parallel move ???
25732573
for (i = 0; i < parent_vars_count; i++) {
25742574
if (STACK_REG(parent_stack, i) != ZREG_NONE) {
25752575
if (ra && ra[i] && ra[i]->reg == STACK_REG(parent_stack, i)) {
@@ -2621,7 +2621,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
26212621
goto jit_failure;
26222622
}
26232623
} else {
2624-
/* Register has to be writen back on side exit */
2624+
/* Register has to be written back on side exit */
26252625
SET_STACK_REG(stack, phi->var, ival->reg);
26262626
}
26272627
}
@@ -4909,7 +4909,7 @@ int ZEND_FASTCALL zend_jit_trace_exit(uint32_t exit_num, zend_jit_registers_buf
49094909
}
49104910

49114911
/* Lock-free check if the side trace was already JIT-ed or blacklist-ed in another process */
4912-
// TODO: We may remoive this, becaus of the same check in zend_jit_trace_hot_side() ???
4912+
// TODO: We may remove this, because of the same check in zend_jit_trace_hot_side() ???
49134913
opline = t->exit_info[exit_num].opline;
49144914
if (EG(vm_interrupt) || ((uintptr_t)opline & (ZEND_JIT_EXIT_JITED|ZEND_JIT_EXIT_BLACKLISTED))) {
49154915
opline = (const zend_op*)((uintptr_t)opline & ~(ZEND_JIT_EXIT_JITED|ZEND_JIT_EXIT_BLACKLISTED));

ext/opcache/jit/zend_jit_vm_helpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex,
814814
if ((start & ZEND_JIT_TRACE_START_LOOP) != 0
815815
&& level + ret_level == 0
816816
&& !zend_jit_trace_bad_compiled_loop(orig_opline)) {
817-
/* Fail to try close outer loop throgh side exit.
817+
/* Fail to try close outer loop through side exit.
818818
If this doesn't work just link. */
819819
stop = ZEND_JIT_TRACE_STOP_COMPILED_LOOP;
820820
break;

0 commit comments

Comments
 (0)