aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-11 21:18:37 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-11 21:18:37 -0700
commit9e7a712c6b6186792f186ed6bd6d6af31d36a434 (patch)
treeed0b51d1f165dc80278aedf9f3f768fe303aff15 /src/library.js
parentfd301b105745a855e4cb231e217e8acf40df1858 (diff)
infrastructure for supporting exceptions in asm.js, by going through invoke_* calls
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 01c0a3f3..80c107a5 100644
--- a/src/library.js
+++ b/src/library.js
@@ -5016,6 +5016,7 @@ LibraryManager.library = {
__cxa_free_exception: function(ptr) {
return _free(ptr);
},
+ __cxa_throw__sig: 'viii',
__cxa_throw__deps: ['llvm_eh_exception', '_ZSt18uncaught_exceptionv', '__cxa_find_matching_catch'],
__cxa_throw: function(ptr, type, destructor) {
if (!___cxa_throw.initialized) {