diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-12 20:46:11 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-12 20:51:01 -0700 |
commit | 5e6b5e313cb2fa9c699934df72a7c975d1d02ad2 (patch) | |
tree | 5efd7ea54a370f4b3012ac198424db2d91a59ed1 /src/library.js | |
parent | 5e00090b128125f8d6de1f69f2983b9416dc8347 (diff) |
demangle stacks in abort(), using new stackTrace utility
Diffstat (limited to 'src/library.js')
-rw-r--r-- | src/library.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index 5e71b087..aeebe8bb 100644 --- a/src/library.js +++ b/src/library.js @@ -4296,7 +4296,7 @@ LibraryManager.library = { }, llvm_trap: function() { - throw 'trap! ' + new Error().stack; + abort('trap!'); }, __assert_fail: function(condition, filename, line, func) { |