summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_gc.h2
-rw-r--r--ext/com_dotnet/com_handlers.c2
-rw-r--r--ext/opcache/Optimizer/zend_optimizer.c2
-rw-r--r--ext/opcache/jit/zend_jit_trace.c6
-rw-r--r--ext/opcache/jit/zend_jit_vm_helpers.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/Zend/zend_gc.h b/Zend/zend_gc.h
index 4754f31713..f9cbde39d2 100644
--- a/Zend/zend_gc.h
+++ b/Zend/zend_gc.h
@@ -85,7 +85,7 @@ static zend_always_inline void gc_check_possible_root(zend_refcounted *ref)
}
/* These APIs can be used to simplify object get_gc implementations
- * over heterogenous structures. See zend_generator_get_gc() for
+ * over heterogeneous structures. See zend_generator_get_gc() for
* a usage example. */
typedef struct {
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index cd1f59f555..e6434e52cf 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -25,7 +25,7 @@
#include "php_com_dotnet_internal.h"
#include "Zend/zend_exceptions.h"
-static zval *com_property_read(zend_object *object, zend_string *member, int type, void **cahce_slot, zval *rv)
+static zval *com_property_read(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv)
{
php_com_dotnet_object *obj;
VARIANT v;
diff --git a/ext/opcache/Optimizer/zend_optimizer.c b/ext/opcache/Optimizer/zend_optimizer.c
index 61d2750ce9..65449c3d8f 100644
--- a/ext/opcache/Optimizer/zend_optimizer.c
+++ b/ext/opcache/Optimizer/zend_optimizer.c
@@ -842,7 +842,7 @@ zend_function *zend_optimizer_get_called_func(
* as a prototype, as it may be overridden with changed signature. */
return same_scope ? fbc : NULL;
}
- /* If the method is non-final, it may be overriden,
+ /* If the method is non-final, it may be overridden,
* but only with a compatible method signature. */
*is_prototype = !is_final;
return fbc;
diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c
index 49c3e9b556..a3a956cfbe 100644
--- a/ext/opcache/jit/zend_jit_trace.c
+++ b/ext/opcache/jit/zend_jit_trace.c
@@ -2569,7 +2569,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
}
}
- // TODO: Merge two loops implementing paralel move ???
+ // TODO: Merge two loops implementing parallel move ???
for (i = 0; i < parent_vars_count; i++) {
if (STACK_REG(parent_stack, i) != ZREG_NONE) {
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
goto jit_failure;
}
} else {
- /* Register has to be writen back on side exit */
+ /* Register has to be written back on side exit */
SET_STACK_REG(stack, phi->var, ival->reg);
}
}
@@ -4909,7 +4909,7 @@ int ZEND_FASTCALL zend_jit_trace_exit(uint32_t exit_num, zend_jit_registers_buf
}
/* Lock-free check if the side trace was already JIT-ed or blacklist-ed in another process */
- // TODO: We may remoive this, becaus of the same check in zend_jit_trace_hot_side() ???
+ // TODO: We may remove this, because of the same check in zend_jit_trace_hot_side() ???
opline = t->exit_info[exit_num].opline;
if (EG(vm_interrupt) || ((uintptr_t)opline & (ZEND_JIT_EXIT_JITED|ZEND_JIT_EXIT_BLACKLISTED))) {
opline = (const zend_op*)((uintptr_t)opline & ~(ZEND_JIT_EXIT_JITED|ZEND_JIT_EXIT_BLACKLISTED));
diff --git a/ext/opcache/jit/zend_jit_vm_helpers.c b/ext/opcache/jit/zend_jit_vm_helpers.c
index 7fcd14feca..f8559378c6 100644
--- a/ext/opcache/jit/zend_jit_vm_helpers.c
+++ b/ext/opcache/jit/zend_jit_vm_helpers.c
@@ -814,7 +814,7 @@ zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex,
if ((start & ZEND_JIT_TRACE_START_LOOP) != 0
&& level + ret_level == 0
&& !zend_jit_trace_bad_compiled_loop(orig_opline)) {
- /* Fail to try close outer loop throgh side exit.
+ /* Fail to try close outer loop through side exit.
If this doesn't work just link. */
stop = ZEND_JIT_TRACE_STOP_COMPILED_LOOP;
break;