diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-14 09:33:53 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-14 09:33:53 -0700 |
commit | 90c4b12c0b07ca889eb5521b434f5ce258b651a1 (patch) | |
tree | f7e11f81c931542003218b60e6d6aefbd3faea79 /emscripten.py | |
parent | eeaacf90a9e80f0b295b16233ea09d1be9cc2222 (diff) |
add handwritten asm i64Subtract
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/emscripten.py b/emscripten.py index a5ebbb31..bfcc3ea5 100755 --- a/emscripten.py +++ b/emscripten.py @@ -385,9 +385,8 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None, basic_vars = ['STACKTOP', 'STACK_MAX', 'tempDoublePtr', 'ABORT'] basic_float_vars = ['NaN', 'Infinity'] if forwarded_json['Types']['preciseI64MathUsed']: - basic_funcs += ['i64Math_' + op for op in ['subtract', 'multiply', 'divide', 'modulo']] + basic_funcs += ['i64Math_' + op for op in ['multiply', 'divide', 'modulo']] asm_setup += ''' -var i64Math_subtract = function(a, b, c, d) { i64Math.subtract(a, b, c, d) }; var i64Math_multiply = function(a, b, c, d) { i64Math.multiply(a, b, c, d) }; var i64Math_divide = function(a, b, c, d, e) { i64Math.divide(a, b, c, d, e) }; var i64Math_modulo = function(a, b, c, d, e) { i64Math.modulo(a, b, c, d, e) }; |