aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorFraser Adams <fraser.adams@blueyonder.co.uk>2014-05-07 20:35:40 +0100
committerFraser Adams <fraser.adams@blueyonder.co.uk>2014-05-07 20:35:40 +0100
commitdeb49776cf90ceb1033c741b568423d6a3bb5d46 (patch)
tree963afba4be80c1759273a015ef07242e414df243 /emscripten.py
parent733dda0061bef045a99dd15db8b17ea3540db289 (diff)
add Runtime.setTempRet0 method for symmetry
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py
index 07f1249e..94c6b61c 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -651,6 +651,7 @@ function getTempRet%d() {
Runtime.stackAlloc = asm['stackAlloc'];
Runtime.stackSave = asm['stackSave'];
Runtime.stackRestore = asm['stackRestore'];
+Runtime.setTempRet0 = asm['setTempRet0'];
Runtime.getTempRet0 = asm['getTempRet0'];
''')
@@ -1232,6 +1233,7 @@ function getTempRet0() {
Runtime.stackAlloc = asm['stackAlloc'];
Runtime.stackSave = asm['stackSave'];
Runtime.stackRestore = asm['stackRestore'];
+Runtime.setTempRet0 = asm['setTempRet0'];
Runtime.getTempRet0 = asm['getTempRet0'];
''')