Skip to content

Commit 67fbcfc

Browse files
committed
Remove useless checks
1 parent 8fb9144 commit 67fbcfc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6402,10 +6402,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
64026402
}
64036403
}
64046404
#ifdef HAVE_FFI
6405-
if ((opline->opcode == ZEND_FETCH_OBJ_R
6406-
|| opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG
6407-
|| opline->opcode == ZEND_FETCH_OBJ_W)
6408-
&& op1_ffi_type && op1_ffi_type->kind == ZEND_FFI_TYPE_STRUCT) {
6405+
if (op1_ffi_type && op1_ffi_type->kind == ZEND_FFI_TYPE_STRUCT) {
64096406
zend_ffi_field *field = zend_hash_find_ptr(&op1_ffi_type->record.fields,
64106407
Z_STR_P(RT_CONSTANT(opline, opline->op2)));
64116408

0 commit comments

Comments
 (0)