diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-14 16:12:23 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-14 16:14:15 -0800 |
commit | 32bbd16cd13d6666b751bd1db15e37f9a4775056 (patch) | |
tree | 42ac073c08f1372dbb1022a5546ab3279f3f83ee | |
parent | a1874246b300e3fe92c2e4e33e653b1c07ddeedd (diff) |
add missing asm coercion to va_arg handler; #2120
-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 35846d39..c1ca893b 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1419,7 +1419,7 @@ function JSify(data, functionsOnly) { // store current list offset in tempInt, advance list offset by STACK_ALIGN, return list entry stored at tempInt return '(tempInt=' + makeGetValue(ident, Runtime.QUANTUM_SIZE, '*') + ',' + - makeSetValue(ident, Runtime.QUANTUM_SIZE, 'tempInt + ' + move, '*', null, null, null, null, ',') + ',' + + makeSetValue(ident, Runtime.QUANTUM_SIZE, asmCoercion('tempInt + ' + move, 'i32'), '*', null, null, null, null, ',') + ',' + makeGetValue(makeGetValue(ident, 0, '*'), 'tempInt', item.type) + ')'; } |