Skip to content

Commit b4c5f4e

Browse files
authored
Remove unused dummy_op_array (#17272)
This was introduced in b0b43e8 for register allocation code, but is not used anymore nowadays.
1 parent c1c6520 commit b4c5f4e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
+----------------------------------------------------------------------+
1717
*/
1818

19-
static zend_op_array dummy_op_array;
2019
static zend_jit_trace_info *zend_jit_traces = NULL;
2120
static const void **zend_jit_exit_groups = NULL;
2221

@@ -75,9 +74,6 @@ static void zend_jit_trace_startup(bool reattached)
7574
}
7675
}
7776

78-
memset(&dummy_op_array, 0, sizeof(dummy_op_array));
79-
dummy_op_array.fn_flags = ZEND_ACC_DONE_PASS_TWO;
80-
8177
JIT_G(exit_counters) = calloc(JIT_G(max_exit_counters), 1);
8278
if (JIT_G(exit_counters) == NULL) {
8379
zend_accel_error_noreturn(ACCEL_LOG_FATAL, "Could not allocate JIT exit counters buffer!");

0 commit comments

Comments
 (0)