@@ -8335,9 +8335,11 @@ static void zend_jit_dump_trace(zend_jit_trace_rec *trace_buffer, zend_ssa *tssa
83358335 p ++ ;
83368336#ifdef HAVE_FFI
83378337 if ((p + 1 )-> op == ZEND_JIT_TRACE_OP1_FFI_TYPE ) {
8338- fprintf (stderr , " op1(%sobject of class %s: ffi_type) " , ref ,
8338+ fprintf (stderr , " op1(%sobject of class %s: " , ref ,
83398339 ZSTR_VAL (p -> ce -> name ));
83408340 p ++ ;
8341+ zend_ffi_type_print (stderr , p -> ptr );
8342+ fprintf (stderr , ")" );
83418343 } else if ((p + 1 )-> op == ZEND_JIT_TRACE_OP1_FFI_SYMBOLS ) {
83428344 fprintf (stderr , " op1(%sobject of class %s: ffi_symbols)" , ref ,
83438345 ZSTR_VAL (p -> ce -> name ));
@@ -8359,9 +8361,11 @@ static void zend_jit_dump_trace(zend_jit_trace_rec *trace_buffer, zend_ssa *tssa
83598361 p ++ ;
83608362#ifdef HAVE_FFI
83618363 if ((p + 1 )-> op == ZEND_JIT_TRACE_OP2_FFI_TYPE ) {
8362- fprintf (stderr , " op2(%sobject of class %s: ffi_type) " , ref ,
8364+ fprintf (stderr , " op2(%sobject of class %s: " , ref ,
83638365 ZSTR_VAL (p -> ce -> name ));
83648366 p ++ ;
8367+ zend_ffi_type_print (stderr , p -> ptr );
8368+ fprintf (stderr , ")" );
83658369 } else
83668370#endif
83678371 fprintf (stderr , " op2(%sobject of class %s)" , ref ,
@@ -8379,9 +8383,11 @@ static void zend_jit_dump_trace(zend_jit_trace_rec *trace_buffer, zend_ssa *tssa
83798383 p ++ ;
83808384#ifdef HAVE_FFI
83818385 if ((p + 1 )-> op == ZEND_JIT_TRACE_OP3_FFI_TYPE ) {
8382- fprintf (stderr , " op3(%sobject of class %s: ffi_type) " , ref ,
8386+ fprintf (stderr , " op3(%sobject of class %s: " , ref ,
83838387 ZSTR_VAL (p -> ce -> name ));
83848388 p ++ ;
8389+ zend_ffi_type_print (stderr , p -> ptr );
8390+ fprintf (stderr , ")" );
83858391 } else
83868392#endif
83878393 fprintf (stderr , " op3(%sobject of class %s)" , ref ,
0 commit comments