aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-08 20:17:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-08 20:22:13 -0700
commita84ed074b7d9f491a26e175644c0193c5dbb3b9a (patch)
tree3efcf141eed4e651f36c39903a2c62af4b671a94
parent8d514cd498fb70d1be4672a755a0f62f329676fa (diff)
comment on EXPORT_ALL
-rw-r--r--src/settings.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js
index 7e607996..3a91b488 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -245,7 +245,8 @@ var EXPORTED_FUNCTIONS = ['_main', '_malloc'];
// through LLVM dead code elimination, and also made accessible outside of
// the generated code even after running closure compiler (on "Module").
// Note the necessary prefix of "_".
-var EXPORT_ALL = 0; // If true, we export all the symbols
+var EXPORT_ALL = 0; // If true, we export all the symbols. Note that this does *not* affect LLVM, so it can
+ // still eliminate functions as dead. This just exports them on the Module object.
var EXPORT_BINDINGS = 0; // Export all bindings generator functions (prefixed with emscripten_bind_). This
// is necessary to use the bindings generator with asm.js