diff options
author | julien.hamaide <julien.hamaide@fishingcactus.com> | 2012-01-12 09:51:05 +0100 |
---|---|---|
committer | julien.hamaide <julien.hamaide@fishingcactus.com> | 2012-01-12 09:51:05 +0100 |
commit | 2f36c2d9c3f32e57f1a05c25c68ea593750fe130 (patch) | |
tree | 2b771df05cbbbe7ba26ce01b9e631e9d13ac6bb6 /src/jsifier.js | |
parent | d2cdcc98d3a85772a69834c8cd7db1658c20f749 (diff) |
Fix library exception function to work with QUANTUM_SIZE=1
Diffstat (limited to 'src/jsifier.js')
-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 88d9dbc6..9ec957dc 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -946,7 +946,7 @@ function JSify(data, functionsOnly, givenFunctions) { makeFuncLineActor('landingpad', function(item) { // Just a stub return '{ f0: ' + makeGetValue('_llvm_eh_exception.buf', '0', 'void*') + - ', f1:' + makeGetValue('_llvm_eh_exception.buf', '4', 'void*') + ' }'; + ', f1:' + makeGetValue('_llvm_eh_exception.buf', QUANTUM_SIZE, 'void*') + ' }'; }); makeFuncLineActor('load', function(item) { var value = finalizeLLVMParameter(item.pointer); |