diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-23 16:34:36 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-23 16:34:36 -0800 |
commit | ab20c69e046731f722f39016539dc1ffe4040aa1 (patch) | |
tree | a20370a075ddb043c9e32608dad7e4402a9eda42 /emscripten.py | |
parent | 4200a73e281b3bb10c11d9bc57a9a07602ff23b4 (diff) |
refactor makeComparison and use it in more places
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index 137d95cb..f978662c 100755 --- a/emscripten.py +++ b/emscripten.py @@ -413,7 +413,7 @@ var asm = (function(global, env, buffer) { ''' % (asm_setup,) + '\n' + asm_global_vars + ''' var __THREW__ = 0; var undef = 0; - var tempInt = 0, tempBigInt = 0, tempValue = 0; + var tempInt = 0, tempBigInt = 0, tempBigIntP = 0, tempBigIntS = 0, tempBigIntR = 0.0, tempBigIntI = 0, tempBigIntD = 0, tempValue = 0; ''' + ''.join([''' var tempRet%d = 0;''' % i for i in range(10)]) + '\n' + asm_global_funcs + ''' function stackAlloc(size) { |