aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-04 17:10:28 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:22 -0800
commitc027f5d2af38f35d8dec730188ce328fcfe0b3dd (patch)
treea727b97970e2bfdfa36bb431ae5e51641fe7e174 /emscripten.py
parentae8c3535937f994074d85276f9d0ac763e8e9489 (diff)
add missing sign parameter to i64 divide and modulo
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/emscripten.py b/emscripten.py
index 8ead6e58..450bc49b 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -299,8 +299,8 @@ def emscript(infile, settings, outfile, libraries=[]):
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) };
var i64Math_multiply = function(a, b, c, d) { i64Math.multiply(a, b, c, d) };
-var i64Math_divide = function(a, b, c, d) { i64Math.divide(a, b, c, d) };
-var i64Math_modulo = function(a, b, c, d) { i64Math.modulo(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) };
'''
asm_runtime_funcs = ['stackAlloc', 'stackSave', 'stackRestore']
# function tables