File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -651,6 +651,7 @@ def math_fix(g):
651
651
Runtime.stackAlloc = asm['stackAlloc'];
652
652
Runtime.stackSave = asm['stackSave'];
653
653
Runtime.stackRestore = asm['stackRestore'];
654
+ Runtime.setTempRet0 = asm['setTempRet0'];
654
655
Runtime.getTempRet0 = asm['getTempRet0'];
655
656
''' )
656
657
@@ -1232,6 +1233,7 @@ def math_fix(g):
1232
1233
Runtime.stackAlloc = asm['stackAlloc'];
1233
1234
Runtime.stackSave = asm['stackSave'];
1234
1235
Runtime.stackRestore = asm['stackRestore'];
1236
+ Runtime.setTempRet0 = asm['setTempRet0'];
1235
1237
Runtime.getTempRet0 = asm['getTempRet0'];
1236
1238
''' )
1237
1239
Original file line number Diff line number Diff line change @@ -99,6 +99,9 @@ var Runtime = {
99
99
// When a 64 bit long is returned from a compiled function the least significant
100
100
// 32 bit word is passed in the return value, but the most significant 32 bit
101
101
// word is placed in tempRet0. This provides an accessor for that value.
102
+ setTempRet0 : function ( value ) {
103
+ tempRet0 = value ;
104
+ } ,
102
105
getTempRet0 : function ( ) {
103
106
return tempRet0 ;
104
107
} ,
You can’t perform that action at this time.
0 commit comments