Skip to content

Commit 9333a22

Browse files
sy-recordsnikic
authored andcommitted
Fix typo
1 parent dd91170 commit 9333a22

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ext/opcache/jit/zend_jit_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ typedef enum _zend_jit_trace_op {
452452
#define IS_TRACE_INDIRECT (1<<6)
453453

454454
#define ZEND_JIT_TRACE_FAKE_INIT_CALL 0x00000100
455-
#define ZEND_JIT_TRACE_RETRUN_VALUE_USED 0x00000100
455+
#define ZEND_JIT_TRACE_RETURN_VALUE_USED 0x00000100
456456

457457
#define ZEND_JIT_TRACE_MAX_SSA_VAR 0x7ffffe
458458
#define ZEND_JIT_TRACE_SSA_VAR_SHIFT 9

ext/opcache/jit/zend_jit_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6007,7 +6007,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
60076007
op_array_ssa = &jit_extension->func_info.ssa;
60086008
frame->call = call->prev;
60096009
call->prev = frame;
6010-
if (p->info & ZEND_JIT_TRACE_RETRUN_VALUE_USED) {
6010+
if (p->info & ZEND_JIT_TRACE_RETURN_VALUE_USED) {
60116011
TRACE_FRAME_SET_RETURN_VALUE_USED(call);
60126012
} else {
60136013
TRACE_FRAME_SET_RETURN_VALUE_UNUSED(call);

ext/opcache/jit/zend_jit_vm_helpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex,
806806
}
807807

808808
TRACE_RECORD(ZEND_JIT_TRACE_ENTER,
809-
EX(return_value) != NULL ? ZEND_JIT_TRACE_RETRUN_VALUE_USED : 0,
809+
EX(return_value) != NULL ? ZEND_JIT_TRACE_RETURN_VALUE_USED : 0,
810810
op_array);
811811

812812
count = zend_jit_trace_recursive_call_count(&EX(func)->op_array, unrolled_calls, ret_level, level);

0 commit comments

Comments
 (0)