diff options
author | Alon Zakai <azakai@mozilla.com> | 2010-12-31 22:49:25 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2010-12-31 22:49:25 -0800 |
commit | 0a2735ebc744bb877b20ff4b9669ab55b8e5100b (patch) | |
tree | af0c945d0d5d7b887327a13360c998f864a1706b /src/settings.js | |
parent | f662276ac91cca8a86139eb2f5b1b50536ef071d (diff) |
allow SAFE_HEAP with typed arrays; fix minor uncovered bugs; add SAFE_HEAP_LOG option
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js index 62143fa9..79b4e6fa 100644 --- a/src/settings.js +++ b/src/settings.js @@ -31,8 +31,9 @@ USE_TYPED_ARRAYS = 0; // Try to use typed arrays for the heap // Generated code debugging options SAFE_HEAP = 0; // Check each write to the heap against a list of blocked addresses +SAFE_HEAP_LOG = 0; // Print out every single heap read and write (LOTS of output) LABEL_DEBUG = 0; // Print out labels and functions as we enter them -EXCEPTION_DEBUG = 0; // Print out exceptions in emscriptened code +EXCEPTION_DEBUG = 1; // Print out exceptions in emscriptened code EXECUTION_TIMEOUT = -1; // Throw an exception after X seconds - useful to debug infinite loops CHECK_OVERFLOWS = 0; // Add code that checks for overflows in integer math operations. // There is currently not much to do to handle overflows if they occur. |