Skip to content

Commit 3be3100

Browse files
committed
Enable IR based JIT by default
1 parent 927c0e2 commit 3be3100

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ext/opcache/config.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ PHP_ARG_WITH([capstone],,
2626

2727
PHP_ARG_ENABLE([opcache-jit-ir],
2828
[whether to enable JIT based on IR framework],
29-
[AS_HELP_STRING([--enable-opcache-jit-ir],
30-
[Enable JIT based on IR framework])],
31-
[no],
32-
[yes])
29+
[AS_HELP_STRING([--disable-opcache-jit-ir],
30+
[Disable JIT based on IR framework (use old JIT)])],
31+
[yes],
32+
[no])
3333

3434
if test "$PHP_OPCACHE" != "no"; then
3535

ext/opcache/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if (PHP_OPCACHE != "no") {
55

66
ARG_ENABLE("opcache-jit", "whether to enable JIT", "yes");
77

8-
ARG_ENABLE("opcache-jit-ir", "whether to enable JIT based on IR framework", "no");
8+
ARG_ENABLE("opcache-jit-ir", "whether to enable JIT based on IR framework", "yes");
99

1010
ZEND_EXTENSION('opcache', "\
1111
ZendAccelerator.c \

0 commit comments

Comments
 (0)