aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-08 16:52:02 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-08 16:52:02 -0800
commit62ca2bf2fa47370ec845c91bb2c2e73d48d2c4f5 (patch)
tree69222892d505a345f0df6e9d6a8bf43ce8526744
parentc31a515ee32a2aef2194e09e3f977c6961fce410 (diff)
add tempValue in asm
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 8fa1c3e5..6b990bd3 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -377,7 +377,7 @@ var asmPre = (function(env, buffer) {
''' % (asm_setup,) + '\n' + asm_global_vars + '''
var __THREW__ = 0;
var undef = 0;
- var tempInt = 0;
+ var tempInt = 0, tempValue = 0;
''' + ''.join(['''
var tempRet%d = 0;''' % i for i in range(10)]) + '\n' + asm_global_funcs + '''
function stackAlloc(size) {