aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-11 14:59:38 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-11 14:59:38 -0700
commit0d844ed7a717b13c14eac08fd9a9fbf63a45c071 (patch)
tree3b8923d5c9f6d7394906d7409a49d0aac37748d1
parent010747cad678c6b5d310db072c77a2ce17f2706e (diff)
clarify INVOKE_RUN
-rw-r--r--src/settings.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js
index 78a21616..08dad7f7 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -36,7 +36,8 @@ var ASSERTIONS = 1; // Whether we should add runtime assertions, for example to
var VERBOSE = 0; // When set to 1, will generate more verbose output during compilation.
var INVOKE_RUN = 1; // Whether we will run the main() function. Disable if you embed the generated
- // code in your own, and will call main() yourself at the right time.
+ // code in your own, and will call main() yourself at the right time (which you
+ // can do with Module.callMain(), with an optional parameter of commandline args).
var INIT_HEAP = 0; // Whether to initialize memory anywhere other than the stack to 0.
var TOTAL_STACK = 5*1024*1024; // The total stack size. There is no way to enlarge the stack, so this
// value must be large enough for the program's requirements. If