diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-09 14:52:46 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-09 14:52:46 -0800 |
commit | db57539c2793c20812dd53bccfd95a7be722cf17 (patch) | |
tree | 29fe233ef16b27c2be392c07302a3fce57cf4c3b /src/jsifier.js | |
parent | e18b0b100a57b1121b12356026600877d34ff47e (diff) |
notice alignment in byval params
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 f8fa0e0f..3f41c179 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -520,7 +520,7 @@ function JSify(data, functionsOnly, givenFunctions) { var type = removePointing(param.type); var typeInfo = Types.types[type]; func.JS += ' var tempParam = ' + param.ident + '; ' + param.ident + ' = ' + RuntimeGenerator.stackAlloc(typeInfo.flatSize) + ';' + - makeCopyValues(param.ident, 'tempParam', typeInfo.flatSize, 'null', null, 1) + ';\n'; + makeCopyValues(param.ident, 'tempParam', typeInfo.flatSize, 'null', null, param.byVal) + ';\n'; } }); |