Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 9a4dab9d authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Disable METHODJIT by default for JavaScript, 'cept in JSDoor

METHODJIT (JägerMonkey) is doing weird stuff with xtrn_sec.js when
enabled, so don't introduce that noise.
parent a914d2ea
Pipeline #1439 passed with stage
in 10 minutes and 29 seconds
......@@ -56,7 +56,11 @@ js_callback_t cb;
scfg_t scfg;
char* text[TOTAL_TEXT];
ulong js_max_bytes=JAVASCRIPT_MAX_BYTES;
#ifndef JSDOOR
ulong js_opts = JAVASCRIPT_OPTIONS;
#else
ulong js_opts = JSOPTION_JIT | JSOPTION_METHODJIT | JSOPTION_COMPILE_N_GO | JSOPTION_PROFILING;
#endif
FILE* confp;
FILE* errfp;
FILE* nulfp;
......
......@@ -66,7 +66,7 @@
#define JAVASCRIPT_GC_INTERVAL 100
#define JAVASCRIPT_LOAD_PATH "load"
#define JAVASCRIPT_LOAD_PATH_LIST "load_path_list"
#define JAVASCRIPT_OPTIONS 0xC810 // JSOPTION_JIT | JSOPTION_METHODJIT | JSOPTION_COMPILE_N_GO | JSOPTION_PROFILING
#define JAVASCRIPT_OPTIONS 0x810 // JSOPTION_JIT | JSOPTION_COMPILE_N_GO
struct js_callback;
typedef struct js_callback {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment