diff options
author | julien.hamaide <julien.hamaide@fishingcactus.com> | 2012-01-11 05:21:47 +0100 |
---|---|---|
committer | julien.hamaide <julien.hamaide@fishingcactus.com> | 2012-01-11 05:21:47 +0100 |
commit | 664caa0c759c7536bc69cb1d2e3e4f6d04e3da54 (patch) | |
tree | d25fb72456aa1d659b8802e58f7f17ed67ea25c0 /src/jsifier.js | |
parent | 4a472ca90a98b5d1d4084c0a501d6341a8cc2907 (diff) |
Catching specific exception type now works
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 501ed3f9..88d9dbc6 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -945,7 +945,8 @@ function JSify(data, functionsOnly, givenFunctions) { }); makeFuncLineActor('landingpad', function(item) { // Just a stub - return '{ f0: 0, f1: 0 }'; + return '{ f0: ' + makeGetValue('_llvm_eh_exception.buf', '0', 'void*') + + ', f1:' + makeGetValue('_llvm_eh_exception.buf', '4', 'void*') + ' }'; }); makeFuncLineActor('load', function(item) { var value = finalizeLLVMParameter(item.pointer); |