diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-27 08:04:06 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-27 08:04:06 -0800 |
commit | 5e6e6f889c7aef090ea1d5aad25b29083afb1036 (patch) | |
tree | b4c441ccd1dbd3f81e34bab81a89b76d0f51a04b /src/settings.js | |
parent | 5516f8fa58d73bc96a7e4ab01d677cdb3eb25bd1 (diff) | |
parent | 31186ef9edb06e9bc695fca2c3a14677e8f137a1 (diff) |
Merge pull request #884 from vvuk/check-heap-align
Add CHECK_HEAP_ALIGN to perform runtime alignment checks
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index 308afddc..4d742060 100644 --- a/src/settings.js +++ b/src/settings.js @@ -128,6 +128,9 @@ var SAFE_HEAP = 0; // Check each write to the heap, for example, this will give // that 3 is the option you usually want here. var SAFE_HEAP_LOG = 0; // Log out all SAFE_HEAP operations +var CHECK_HEAP_ALIGN = 0; // Check heap accesses for alignment, but don't do as + // near extensive (or slow) checks as SAFE_HEAP. + var SAFE_DYNCALLS = 0; // Show stack traces on missing function pointer/virtual method calls var ASM_HEAP_LOG = 0; // Simple heap logging, like SAFE_HEAP_LOG but cheaper, and in asm.js |