]> granicus.if.org Git - php/commitdiff
[ci skip] Fixed some minor typos in code comments
authorJavier Eguiluz <javier.eguiluz@gmail.com>
Tue, 9 Jun 2020 14:55:01 +0000 (16:55 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 9 Jun 2020 15:17:55 +0000 (17:17 +0200)
ext/opcache/jit/zend_jit_trace.c

index 3a516915707dbe86fbf63f2479bf93f2d2d07969..ff7120f5d72079238871e05b25478081db799fc9 100644 (file)
@@ -279,7 +279,7 @@ static int zend_jit_trace_may_exit(const zend_op_array *op_array, const zend_op
                case ZEND_FE_FETCH_RW:
                case ZEND_SWITCH_LONG:
                case ZEND_SWITCH_STRING:
-                       /* branch opcdoes */
+                       /* branch opcodes */
                        return 1;
                case ZEND_NEW:
                        if (opline->extended_value == 0 && (opline+1)->opcode == ZEND_DO_FCALL) {
@@ -305,7 +305,7 @@ static int zend_jit_trace_may_exit(const zend_op_array *op_array, const zend_op
                case ZEND_DO_UCALL:
                case ZEND_DO_FCALL_BY_NAME:
                        /* monomorphic call */
-                       // TODO: recompilation may change traget ???
+                       // TODO: recompilation may change target ???
                        return 0;
 #endif
                case ZEND_RETURN_BY_REF:
@@ -4023,7 +4023,7 @@ done:
                        call = frame->call;
                        assert(call && &call->func->op_array == p->op_array);
 
-                       /* Check if SEND_UNPACK/SEND_ARRAY may cause enter at diffrent opline */
+                       /* Check if SEND_UNPACK/SEND_ARRAY may cause enter at different opline */
                        if ((opline->opcode == ZEND_DO_UCALL
                          || opline->opcode == ZEND_DO_FCALL_BY_NAME
                          || opline->opcode == ZEND_DO_FCALL)
@@ -4146,7 +4146,7 @@ done:
                                        if (JIT_G(opt_level) >= ZEND_JIT_LEVEL_INLINE) {
                                                i = 0;
                                                while (i < p->op_array->num_args) {
-                                                       /* Types of arguments are going to be stored in abstract stack when proseccin SEV onstruction */
+                                                       /* Types of arguments are going to be stored in abstract stack when processing SEV instruction */
                                                        SET_STACK_TYPE(call->stack, i, IS_UNKNOWN);
                                                        i++;
                                                }