Skip to content

Commit a5c2985

Browse files
committed
ext/opcache/jit/zend_jit_trace: use true/false instead of 1/0
1 parent c6ebb4d commit a5c2985

File tree

2 files changed

+213
-213
lines changed

2 files changed

+213
-213
lines changed

ext/opcache/jit/zend_jit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static const void *zend_jit_loop_trace_counter_handler = NULL;
134134
static int ZEND_FASTCALL zend_runtime_jit(void);
135135

136136
static int zend_jit_trace_op_len(const zend_op *opline);
137-
static int zend_jit_trace_may_exit(const zend_op_array *op_array, const zend_op *opline);
137+
static bool zend_jit_trace_may_exit(const zend_op_array *op_array, const zend_op *opline);
138138
static uint32_t zend_jit_trace_get_exit_point(const zend_op *to_opline, uint32_t flags);
139139
static const void *zend_jit_trace_get_exit_addr(uint32_t n);
140140
static void zend_jit_trace_add_code(const void *start, uint32_t size);
@@ -757,7 +757,7 @@ typedef enum _sp_adj_kind {
757757

758758
static int sp_adj[SP_ADJ_LAST];
759759

760-
static int zend_jit_trace_exit(uint32_t exit_num, zend_jit_registers_buf *regs);
760+
static bool zend_jit_trace_exit(uint32_t exit_num, zend_jit_registers_buf *regs);
761761

762762
/* The generated code may contain tautological comparisons, ignore them. */
763763
#if defined(__clang__)

0 commit comments

Comments
 (0)