Skip to content

Commit 2da8d10

Browse files
author
Sara
authored
Update zend_accelerator_module.c
1 parent 93be950 commit 2da8d10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/zend_accelerator_module.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ ZEND_INI_BEGIN()
335335
STD_PHP_INI_ENTRY("opcache.jit_max_recursive_calls" , "2", PHP_INI_ALL, OnUpdateUnrollC, max_recursive_calls, zend_jit_globals, jit_globals)
336336
STD_PHP_INI_ENTRY("opcache.jit_max_recursive_returns" , "2", PHP_INI_ALL, OnUpdateUnrollR, max_recursive_returns, zend_jit_globals, jit_globals)
337337
STD_PHP_INI_ENTRY("opcache.jit_max_polymorphic_calls" , "2", PHP_INI_ALL, OnUpdateLong, max_polymorphic_calls, zend_jit_globals, jit_globals)
338+
STD_PHP_INI_ENTRY("opcache.jit_max_trace_length" , "1024", PHP_INI_ALL, OnUpdateMaxTraceLength, max_trace_length, zend_jit_globals, jit_globals)
338339
STD_PHP_INI_ENTRY("opcache.jit_trace_inline_func_limit" , "16", PHP_INI_ALL, OnUpdateLong, jit_trace_inline_func_limit, zend_jit_globals, jit_globals)
339-
STD_PHP_INI_ENTRY("opcache.jit_max_trace_length" , "1024", PHP_INI_ALL, OnUpdateMaxTraceLength, max_trace_length, zend_jit_globals, jit_globals)
340340
#endif
341341
ZEND_INI_END()
342342

@@ -851,7 +851,7 @@ ZEND_FUNCTION(opcache_get_configuration)
851851
add_assoc_long(&directives, "opcache.jit_max_root_traces", JIT_G(max_root_traces));
852852
add_assoc_long(&directives, "opcache.jit_max_side_traces", JIT_G(max_side_traces));
853853
add_assoc_long(&directives, "opcache.jit_prof_threshold", JIT_G(prof_threshold));
854-
add_assoc_long(&directives, "opcache.jit_max_trace_length", JIT_G(max_trace_length));
854+
add_assoc_long(&directives, "opcache.jit_max_trace_length", JIT_G(max_trace_length));
855855
add_assoc_long(&directives, "opcache.jit_trace_inline_func_limit", JIT_G(jit_trace_inline_func_limit));
856856
#endif
857857

0 commit comments

Comments
 (0)