diff options
author | Jez Ng <me@jezng.com> | 2013-07-15 14:36:28 -0700 |
---|---|---|
committer | Jez Ng <me@jezng.com> | 2013-07-15 14:36:28 -0700 |
commit | 61c31f69359132e7630a9c4c2c3d25a6ed742247 (patch) | |
tree | df58344e2bcd8de8aeea48d8b95e85903316b9b1 /src/settings.js | |
parent | 392b7183a978fd1d62c29fc027973943fc440510 (diff) |
Use DLOPEN_SUPPORT instead of LINKABLE to enable self-dlopen.
Also address style feedback.
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index 7f9dca3b..10e93975 100644 --- a/src/settings.js +++ b/src/settings.js @@ -327,6 +327,10 @@ var LINKABLE = 0; // If set to 1, this file can be linked with others, either as // LINKABLE of 0 is very useful in that we can reduce the size of the // generated code very significantly, by removing everything not actually used. +var DLOPEN_SUPPORT = 0; // Whether to support dlopen(NULL, ...) which enables dynamic access to the + // module's functions and globals. Implies LINKABLE=1, because we do not want + // dead code elimination. + var RUNTIME_TYPE_INFO = 0; // Whether to expose type info to the script at run time. This // increases the size of the generated script, but allows you // to more easily perform operations from handwritten JS on |