diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-01 14:19:52 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:22 -0800 |
commit | 74c843c55f0238bd75a919fdd5b2dc2f57f48fe2 (patch) | |
tree | f10d06d0da4c5cd88ec6f2c2fc93af2b349a4c39 /src/library.js | |
parent | 61e57490b2f55f57291f8d28a79805d5bd84f176 (diff) |
i64Math in asm
Diffstat (limited to 'src/library.js')
-rw-r--r-- | src/library.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library.js b/src/library.js index f8e1022b..9e447232 100644 --- a/src/library.js +++ b/src/library.js @@ -5064,16 +5064,16 @@ LibraryManager.library = { llvm_uadd_with_overflow_i64: function(xl, xh, yl, yh) { i64Math.add(xl, xh, yl, yh); return { - f0: i64Math.result, + f0: [HEAP32[tempDoublePtr>>2], HEAP32[tempDoublePtr+4>>2]], f1: 0 // XXX Need to hack support for this in long.js }; }, llvm_umul_with_overflow_i64__deps: [function() { Types.preciseI64MathUsed = 1 }], llvm_umul_with_overflow_i64: function(xl, xh, yl, yh) { - i64Math.mul(xl, xh, yl, yh); + i64Math.multiply(xl, xh, yl, yh); return { - f0: i64Math.result, + f0: [HEAP32[tempDoublePtr>>2], HEAP32[tempDoublePtr+4>>2]], f1: 0 // XXX Need to hack support for this in long.js }; }, |