Skip to content

Commit 78dfcd0

Browse files
committed
Remove useless checks
1 parent 0b324f4 commit 78dfcd0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ext/opcache/jit/zend_jit_trace.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -6311,10 +6311,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
63116311
}
63126312
}
63136313
#ifdef HAVE_FFI
6314-
if ((opline->opcode == ZEND_FETCH_OBJ_R
6315-
|| opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG
6316-
|| opline->opcode == ZEND_FETCH_OBJ_W)
6317-
&& op1_ffi_type && op1_ffi_type->kind == ZEND_FFI_TYPE_STRUCT) {
6314+
if (op1_ffi_type && op1_ffi_type->kind == ZEND_FFI_TYPE_STRUCT) {
63186315
zend_ffi_field *field = zend_hash_find_ptr(&op1_ffi_type->record.fields,
63196316
Z_STR_P(RT_CONSTANT(opline, opline->op2)));
63206317

0 commit comments

Comments
 (0)