aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-13 22:28:59 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-13 22:28:59 -0700
commit9445eb9e23a53e04d68cd1d9b18db1f17ad02e56 (patch)
tree73cf6587ac76974cd702f3799eb4b0f2c4903367 /emscripten.py
parent252ca4a148b0a210f2ba8ec817981aa9557c1ffe (diff)
remove unneeded i64Math.add import to asm
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 996e5cc3..5c3cfa3b 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -385,7 +385,7 @@ 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 ['add', 'subtract', 'multiply', 'divide', 'modulo']]
+ basic_funcs += ['i64Math_' + op for op in ['subtract', 'multiply', 'divide', 'modulo']]
asm_setup += '''
var i64Math_add = function(a, b, c, d) { i64Math.add(a, b, c, d) };
var i64Math_subtract = function(a, b, c, d) { i64Math.subtract(a, b, c, d) };