diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-03 18:22:37 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-03 18:22:37 -0700 |
commit | af7dedb9be77ed2ce6bc3b14d2a250c0e233ce4d (patch) | |
tree | 2d637333a4095ac4959685af6b33613cb5ce3507 /src/settings.js | |
parent | 60faa96b411e8427c4dcb19720bffbe3a73e9f7b (diff) |
show stub malloc/free warnings only in ASSERTIONS==2
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index c156a40c..52605bda 100644 --- a/src/settings.js +++ b/src/settings.js @@ -36,6 +36,7 @@ var ASSERTIONS = 1; // Whether we should add runtime assertions, for example to // exceed it's size, whether all allocations (stack and static) are // of positive size, etc., whether we should throw if we encounter a bad __label__, i.e., // if code flow runs into a fault + // ASSERTIONS == 2 gives even more runtime checks 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 |