mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove unused dummy_op_array (#17272)
This was introduced in b0b43e86ae for register allocation code, but is
not used anymore nowadays.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
static zend_op_array dummy_op_array;
|
||||
static zend_jit_trace_info *zend_jit_traces = NULL;
|
||||
static const void **zend_jit_exit_groups = NULL;
|
||||
|
||||
@@ -75,9 +74,6 @@ static void zend_jit_trace_startup(bool reattached)
|
||||
}
|
||||
}
|
||||
|
||||
memset(&dummy_op_array, 0, sizeof(dummy_op_array));
|
||||
dummy_op_array.fn_flags = ZEND_ACC_DONE_PASS_TWO;
|
||||
|
||||
JIT_G(exit_counters) = calloc(JIT_G(max_exit_counters), 1);
|
||||
if (JIT_G(exit_counters) == NULL) {
|
||||
zend_accel_error_noreturn(ACCEL_LOG_FATAL, "Could not allocate JIT exit counters buffer!");
|
||||
|
||||
Reference in New Issue
Block a user