Skip to content

Commit cef1960

Browse files
committed
Use "const" qualifier
1 parent 5213612 commit cef1960

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/opcache/Optimizer/zend_inference.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4320,7 +4320,7 @@ void zend_inference_check_recursive_dependencies(zend_op_array *op_array)
43204320
free_alloca(worklist, use_heap);
43214321
}
43224322

4323-
int zend_may_throw(const zend_op *opline, zend_op_array *op_array, zend_ssa *ssa)
4323+
int zend_may_throw(const zend_op *opline, const zend_op_array *op_array, zend_ssa *ssa)
43244324
{
43254325
uint32_t t1 = OP1_INFO();
43264326
uint32_t t2 = OP2_INFO();

ext/opcache/Optimizer/zend_inference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ void zend_func_return_info(const zend_op_array *op_array,
274274
int widening,
275275
zend_ssa_var_info *ret);
276276

277-
int zend_may_throw(const zend_op *opline, zend_op_array *op_array, zend_ssa *ssa);
277+
int zend_may_throw(const zend_op *opline, const zend_op_array *op_array, zend_ssa *ssa);
278278

279279
END_EXTERN_C()
280280

0 commit comments

Comments
 (0)