diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-06 20:44:21 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:24 -0800 |
commit | c51a379ec1cdc254366a0f9eebfea7411a03b1e3 (patch) | |
tree | 590c5e141f909abb00aeab26f8718f0e5ca019b2 /src/library.js | |
parent | f0b6b3d2ad45a81e7d92d7491b38a3cad8a08ef5 (diff) |
forward clearing of __THREW__ to asm
Diffstat (limited to 'src/library.js')
-rw-r--r-- | src/library.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index 22eb4b98..f23e87f7 100644 --- a/src/library.js +++ b/src/library.js @@ -4849,7 +4849,11 @@ LibraryManager.library = { return; } // Clear state flag. - __THREW__ = false; +#if ASM_JS + asm.setThrew(0); +#else + __THREW__ = 0; +#endif // Clear type. {{{ makeSetValue('_llvm_eh_exception.buf', QUANTUM_SIZE, '0', 'void*') }}} // Call destructor if one is registered then clear it. |