diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-12 17:14:07 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-12 17:14:07 -0700 |
commit | 9483f8b998df9c49a4122d163e0e2ef92bf7a1c1 (patch) | |
tree | 7c4aeafedf48aabf05cd9648995fed1a995ad702 /src/long.js | |
parent | 1706d678343c3bcf4abc911a5228fa2911d90eb6 (diff) |
infrastructure for implementing i64 math in asm.js, and implement i64Add and llvm_uadd_with_overflow_i64 that way
Diffstat (limited to 'src/long.js')
-rw-r--r-- | src/long.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/long.js b/src/long.js index c3651bd9..6d0e873d 100644 --- a/src/long.js +++ b/src/long.js @@ -1530,13 +1530,6 @@ var i64Math = (function() { // Emscripten wrapper // Emscripten wrapper var Wrapper = { - add: function(xl, xh, yl, yh) { - var x = new goog.math.Long(xl, xh); - var y = new goog.math.Long(yl, yh); - var ret = x.add(y); - HEAP32[tempDoublePtr>>2] = ret.low_; - HEAP32[tempDoublePtr+4>>2] = ret.high_; - }, subtract: function(xl, xh, yl, yh) { var x = new goog.math.Long(xl, xh); var y = new goog.math.Long(yl, yh); |