@@ -706,7 +706,7 @@ static bool zend_may_be_dynamic_property(zend_class_entry *ce, zend_string *memb
706
706
# endif
707
707
#endif
708
708
709
- ZEND_EXT_API void zend_jit_status (zval * ret )
709
+ void zend_jit_status (zval * ret )
710
710
{
711
711
zval stats ;
712
712
array_init (& stats );
@@ -3046,7 +3046,7 @@ static int zend_jit_setup_hot_counters(zend_op_array *op_array)
3046
3046
3047
3047
#include "jit/zend_jit_trace.c"
3048
3048
3049
- ZEND_EXT_API int zend_jit_op_array (zend_op_array * op_array , zend_script * script )
3049
+ int zend_jit_op_array (zend_op_array * op_array , zend_script * script )
3050
3050
{
3051
3051
if (dasm_ptr == NULL ) {
3052
3052
return FAILURE ;
@@ -3123,7 +3123,7 @@ ZEND_EXT_API int zend_jit_op_array(zend_op_array *op_array, zend_script *script)
3123
3123
return FAILURE ;
3124
3124
}
3125
3125
3126
- ZEND_EXT_API int zend_jit_script (zend_script * script )
3126
+ int zend_jit_script (zend_script * script )
3127
3127
{
3128
3128
void * checkpoint ;
3129
3129
zend_call_graph call_graph ;
@@ -3235,7 +3235,7 @@ ZEND_EXT_API int zend_jit_script(zend_script *script)
3235
3235
return FAILURE ;
3236
3236
}
3237
3237
3238
- ZEND_EXT_API void zend_jit_unprotect (void )
3238
+ void zend_jit_unprotect (void )
3239
3239
{
3240
3240
#ifdef HAVE_MPROTECT
3241
3241
if (!(JIT_G (debug ) & (ZEND_JIT_DEBUG_GDB |ZEND_JIT_DEBUG_PERF_DUMP ))) {
@@ -3270,7 +3270,7 @@ ZEND_EXT_API void zend_jit_unprotect(void)
3270
3270
#endif
3271
3271
}
3272
3272
3273
- ZEND_EXT_API void zend_jit_protect (void )
3273
+ void zend_jit_protect (void )
3274
3274
{
3275
3275
#ifdef HAVE_MPROTECT
3276
3276
if (!(JIT_G (debug ) & (ZEND_JIT_DEBUG_GDB |ZEND_JIT_DEBUG_PERF_DUMP ))) {
@@ -3362,7 +3362,7 @@ static int zend_jit_parse_config_num(zend_long jit)
3362
3362
return SUCCESS ;
3363
3363
}
3364
3364
3365
- ZEND_EXT_API int zend_jit_config (zend_string * jit , int stage )
3365
+ int zend_jit_config (zend_string * jit , int stage )
3366
3366
{
3367
3367
if (stage != ZEND_INI_STAGE_STARTUP && !JIT_G (enabled )) {
3368
3368
if (stage == ZEND_INI_STAGE_RUNTIME ) {
@@ -3418,7 +3418,7 @@ ZEND_EXT_API int zend_jit_config(zend_string *jit, int stage)
3418
3418
return FAILURE ;
3419
3419
}
3420
3420
3421
- ZEND_EXT_API int zend_jit_debug_config (zend_long old_val , zend_long new_val , int stage )
3421
+ int zend_jit_debug_config (zend_long old_val , zend_long new_val , int stage )
3422
3422
{
3423
3423
if (stage != ZEND_INI_STAGE_STARTUP ) {
3424
3424
if (((old_val ^ new_val ) & ZEND_JIT_DEBUG_PERSISTENT ) != 0 ) {
@@ -3431,7 +3431,7 @@ ZEND_EXT_API int zend_jit_debug_config(zend_long old_val, zend_long new_val, int
3431
3431
return SUCCESS ;
3432
3432
}
3433
3433
3434
- ZEND_EXT_API void zend_jit_init (void )
3434
+ void zend_jit_init (void )
3435
3435
{
3436
3436
#ifdef ZTS
3437
3437
jit_globals_id = ts_allocate_id (& jit_globals_id , sizeof (zend_jit_globals ), (ts_allocate_ctor ) zend_jit_globals_ctor , (ts_allocate_dtor ) zend_jit_globals_dtor );
@@ -3440,7 +3440,7 @@ ZEND_EXT_API void zend_jit_init(void)
3440
3440
#endif
3441
3441
}
3442
3442
3443
- ZEND_EXT_API int zend_jit_check_support (void )
3443
+ int zend_jit_check_support (void )
3444
3444
{
3445
3445
int i ;
3446
3446
@@ -3499,7 +3499,7 @@ ZEND_EXT_API int zend_jit_check_support(void)
3499
3499
return SUCCESS ;
3500
3500
}
3501
3501
3502
- ZEND_EXT_API void zend_jit_startup (void * buf , size_t size , bool reattached )
3502
+ void zend_jit_startup (void * buf , size_t size , bool reattached )
3503
3503
{
3504
3504
zend_jit_halt_op = zend_get_halt_op ();
3505
3505
zend_jit_profile_counter_rid = zend_get_op_array_extension_handle (ACCELERATOR_PRODUCT_NAME );
@@ -3582,7 +3582,7 @@ ZEND_EXT_API void zend_jit_startup(void *buf, size_t size, bool reattached)
3582
3582
zend_jit_protect ();
3583
3583
}
3584
3584
3585
- ZEND_EXT_API void zend_jit_shutdown (void )
3585
+ void zend_jit_shutdown (void )
3586
3586
{
3587
3587
if (JIT_G (debug ) & ZEND_JIT_DEBUG_SIZE && dasm_ptr != NULL ) {
3588
3588
fprintf (stderr , "\nJIT memory usage: %td\n" , (ptrdiff_t )((char * )* dasm_ptr - (char * )dasm_buf ));
@@ -3606,7 +3606,7 @@ static void zend_jit_reset_counters(void)
3606
3606
}
3607
3607
}
3608
3608
3609
- ZEND_EXT_API void zend_jit_activate (void )
3609
+ void zend_jit_activate (void )
3610
3610
{
3611
3611
zend_jit_profile_counter = 0 ;
3612
3612
if (JIT_G (on )) {
@@ -3619,7 +3619,7 @@ ZEND_EXT_API void zend_jit_activate(void)
3619
3619
}
3620
3620
}
3621
3621
3622
- ZEND_EXT_API void zend_jit_deactivate (void )
3622
+ void zend_jit_deactivate (void )
3623
3623
{
3624
3624
if (zend_jit_profile_counter && !CG (unclean_shutdown )) {
3625
3625
zend_class_entry * ce ;
@@ -3702,7 +3702,7 @@ static void zend_jit_restart_preloaded_script(zend_persistent_script *script)
3702
3702
} ZEND_HASH_FOREACH_END ();
3703
3703
}
3704
3704
3705
- ZEND_EXT_API void zend_jit_restart (void )
3705
+ void zend_jit_restart (void )
3706
3706
{
3707
3707
if (dasm_buf ) {
3708
3708
zend_jit_unprotect ();
0 commit comments