diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-16 17:56:40 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-16 17:56:40 -0800 |
commit | 1da93c212747b91da3927cbf1723de7b70680f1f (patch) | |
tree | 622e1436d34182a34291048075fa3f9c6c8fc0de /src | |
parent | ddfa0dbe6c5797ee55b98e6069ad872c12faa15a (diff) |
fix resume
Diffstat (limited to 'src')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 8ef0d48d..77da7a2c 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1165,7 +1165,7 @@ function JSify(data, functionsOnly, givenFunctions) { var ptr = makeStructuralAccess(item.ident, 0); return (EXCEPTION_DEBUG ? 'Module.print("Resuming exception");' : '') + 'if (' + makeGetValue('_llvm_eh_exception.buf', 0, 'void*') + ' == 0) { ' + makeSetValue('_llvm_eh_exception.buf', 0, ptr, 'void*') + ' } ' + - makeThrow('ptr') + ';'; + makeThrow(ptr) + ';'; }); makeFuncLineActor('invoke', function(item) { // Wrapping in a function lets us easily return values if we are |