Skip to content

Commit

Permalink
Rename function to match opcode name
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jul 31, 2020
1 parent 4c79df5 commit 17c2e40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -2584,7 +2584,7 @@ static int zend_jit(const zend_op_array *op_array, zend_ssa *ssa, const zend_op
}
goto done;
case ZEND_CHECK_UNDEF_ARGS:
if (!zend_jit_check_named(&dasm_state, opline)) {
if (!zend_jit_check_undef_args(&dasm_state, opline)) {
goto jit_failure;
}
goto done;
Expand Down
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -3636,7 +3636,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
}
goto done;
case ZEND_CHECK_UNDEF_ARGS:
if (!zend_jit_check_named(&dasm_state, opline)) {
if (!zend_jit_check_undef_args(&dasm_state, opline)) {
goto jit_failure;
}
goto done;
Expand Down
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -9197,7 +9197,7 @@ static int zend_jit_send_val(dasm_State **Dst, const zend_op *opline, const zend
return 1;
}

static int zend_jit_check_named(dasm_State **Dst, const zend_op *opline)
static int zend_jit_check_undef_args(dasm_State **Dst, const zend_op *opline)
{
| mov FCARG1a, EX->call
| test byte [FCARG1a + offsetof(zend_execute_data, This.u1.type_info) + 3], (ZEND_CALL_MAY_HAVE_UNDEF >> 24)
Expand Down

0 comments on commit 17c2e40

Please sign in to comment.