File tree Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Original file line number Diff line number Diff line change 11PHP NEWS
22|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3- ?? ??? ????, PHP 8.4.2
4-
5- - Opcache:
6- . Fixed bug GH-16851 (JIT_G(enabled) not set correctly on other threads).
7- (dktapps)
8-
9321 Nov 2024, PHP 8.4.1
104
115- BcMath:
Original file line number Diff line number Diff line change @@ -3282,8 +3282,6 @@ static zend_result accel_post_startup(void)
32823282 zend_accel_error_noreturn (ACCEL_LOG_FATAL , "Could not enable JIT: could not use reserved buffer!" );
32833283 } else {
32843284 zend_jit_startup (ZSMMG (reserved ), jit_size , reattached );
3285- } else {
3286- zend_jit_startup_ok = true;
32873285 }
32883286 }
32893287#endif
Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ zend_jit_globals jit_globals;
6969#define JIT_STUB_PREFIX "JIT$$"
7070#define TRACE_PREFIX "TRACE-"
7171
72- bool zend_jit_startup_ok = false;
73-
7472zend_ulong zend_jit_profile_counter = 0 ;
7573int zend_jit_profile_counter_rid = -1 ;
7674
@@ -3636,13 +3634,6 @@ static void zend_jit_reset_counters(void)
36363634
36373635void zend_jit_activate (void )
36383636{
3639- #ifdef ZTS
3640- if (!zend_jit_startup_ok ) {
3641- JIT_G (enabled ) = 0 ;
3642- JIT_G (on ) = 0 ;
3643- return ;
3644- }
3645- #endif
36463637 zend_jit_profile_counter = 0 ;
36473638 if (JIT_G (on )) {
36483639 if (JIT_G (trigger ) == ZEND_JIT_ON_HOT_COUNTERS ) {
Original file line number Diff line number Diff line change @@ -100,8 +100,6 @@ typedef struct _zend_jit_trace_rec zend_jit_trace_rec;
100100typedef struct _zend_jit_trace_stack_frame zend_jit_trace_stack_frame ;
101101typedef struct _sym_node zend_sym_node ;
102102
103- extern bool zend_jit_startup_ok ;
104-
105103typedef struct _zend_jit_globals {
106104 bool enabled ;
107105 bool on ;
You can’t perform that action at this time.
0 commit comments