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)
1660
1660
return mask ;
1661
1661
}
1662
1662
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
-
1671
1663
static void zend_accel_set_auto_globals (int mask )
1672
1664
{
1673
1665
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
1869
1861
will have to ping the used auto global variables before execution */
1870
1862
if (PG (auto_globals_jit )) {
1871
1863
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 ();
1874
1864
}
1875
1865
1876
1866
if (ZCG (accel_directives ).validate_timestamps ) {
@@ -4702,8 +4692,6 @@ static int accel_preload(const char *config, bool in_child)
4702
4692
4703
4693
if (PG (auto_globals_jit )) {
4704
4694
ping_auto_globals_mask = zend_accel_get_auto_globals ();
4705
- } else {
4706
- ping_auto_globals_mask = zend_accel_get_auto_globals_no_jit ();
4707
4695
}
4708
4696
4709
4697
/* Cleanup executor */
You can’t perform that action at this time.
0 commit comments