Skip to content

Commit 3e47e18

Browse files
committed
iFix build wthout FFI
1 parent a7ea6ec commit 3e47e18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7186,10 +7186,12 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
71867186

71877187
call = top;
71887188
TRACE_FRAME_INIT(call, p->func, frame_flags, num_args);
7189+
#ifdef HAVE_FFI
71897190
if (TRACE_FRAME_FFI(call)) {
71907191
ZEND_ASSERT(frame_ffi_sym != NULL);
71917192
call->call_opline = (const zend_op*)(void*)frame_ffi_sym;
71927193
}
7194+
#endif
71937195
call->prev = frame->call;
71947196
if (!(p->info & ZEND_JIT_TRACE_FAKE_INIT_CALL)) {
71957197
TRACE_FRAME_SET_LAST_SEND_BY_VAL(call);

0 commit comments

Comments
 (0)