File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1660,14 +1660,6 @@ static int zend_accel_get_auto_globals(void)
16601660 return mask ;
16611661}
16621662
1663- static int zend_accel_get_auto_globals_no_jit (void )
1664- {
1665- if (zend_hash_exists (& EG (symbol_table ), jit_auto_globals_str [3 ])) {
1666- return 8 ;
1667- }
1668- return 0 ;
1669- }
1670-
16711663static void zend_accel_set_auto_globals (int mask )
16721664{
16731665 int i , ag_size = (sizeof (jit_auto_globals_info ) / sizeof (jit_auto_globals_info [0 ]));
@@ -1869,8 +1861,6 @@ static zend_persistent_script *opcache_compile_file(zend_file_handle *file_handl
18691861 will have to ping the used auto global variables before execution */
18701862 if (PG (auto_globals_jit )) {
18711863 new_persistent_script -> ping_auto_globals_mask = zend_accel_get_auto_globals ();
1872- } else {
1873- new_persistent_script -> ping_auto_globals_mask = zend_accel_get_auto_globals_no_jit ();
18741864 }
18751865
18761866 if (ZCG (accel_directives ).validate_timestamps ) {
@@ -4702,8 +4692,6 @@ static int accel_preload(const char *config, bool in_child)
47024692
47034693 if (PG (auto_globals_jit )) {
47044694 ping_auto_globals_mask = zend_accel_get_auto_globals ();
4705- } else {
4706- ping_auto_globals_mask = zend_accel_get_auto_globals_no_jit ();
47074695 }
47084696
47094697 /* Cleanup executor */
You can’t perform that action at this time.
0 commit comments