aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-20 15:15:39 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-20 15:15:39 -0800
commit6363dec347be9cb2e7dd775330785c8f8019eca9 (patch)
tree79d5016170e72de60994cf87ae91313f5bf6f98d /src
parent8232a25d37d77fe523757ed0cf32557df07e011a (diff)
fix longjmp call by pointer in fastcomp, and enable test_longjmp2
Diffstat (limited to 'src')
-rw-r--r--src/library.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 09cb9b42..c668a5aa 100644
--- a/src/library.js
+++ b/src/library.js
@@ -6287,6 +6287,10 @@ LibraryManager.library = {
throw { longjmp: true, id: {{{ makeGetValue('env', '0', 'i32') }}}, value: value || 1 };
#endif
},
+ emscripten_longjmp__deps: ['longjmp'],
+ emscripten_longjmp: function(env, value) {
+ _longjmp(env, value);
+ },
// ==========================================================================
// signal.h