File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 23
23
#include " ../../ext/opcache/zend_file_cache.h"
24
24
#include " ../../ext/opcache/zend_shared_alloc.h"
25
25
#include " ../../ext/opcache/zend_persist.h"
26
+ #ifdef HAVE_JIT
26
27
#include " ../../ext/opcache/jit/zend_jit.h"
28
+ #endif
27
29
#include " ../../ext/opcache/ZipFormat.hxx"
28
30
#include " ScopeExit.hxx"
29
31
@@ -172,9 +174,11 @@ precompile(const char *const*files, size_t n_files)
172
174
{
173
175
CG (compiler_options) |= ZEND_COMPILE_WITHOUT_EXECUTION|ZEND_COMPILE_WITH_FILE_CACHE;
174
176
177
+ #ifdef HAVE_JIT
175
178
/* JIT must be disabled when storing to a file because the JIT
176
179
will redirect opcode handlers to itself */
177
180
JIT_G (on) = false ;
181
+ #endif
178
182
179
183
const int fd = open (" ." , O_TMPFILE|O_RDWR|O_CLOEXEC, 0644 );
180
184
if (fd < 0 ) {
You can’t perform that action at this time.
0 commit comments