aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFraser Adams <fraser.adams@blueyonder.co.uk>2014-04-24 08:41:41 +0100
committerFraser Adams <fraser.adams@blueyonder.co.uk>2014-04-24 08:41:41 +0100
commite59333c486a97132698a1232ffdb1f5ae048d2b6 (patch)
treed068317527d5bfe435348172f6f2a76cfc0dfb18 /src
parent55ba58508e65f70aed38ec57b78b46a83ecf9433 (diff)
Committing the actual change now
Diffstat (limited to 'src')
-rw-r--r--src/runtime.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime.js b/src/runtime.js
index 63610d3b..3974295d 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -96,6 +96,12 @@ function unInline(name_, params) {
}
var Runtime = {
+ // When a 64 bit long is returned from a compiled function the least significant
+ // 32 bit word is passed in the return value, but the most significant 32 bit
+ // word is placed in tempRet0. This provides an accessor for that value.
+ getTempRet0: function() {
+ return tempRet0;
+ },
stackSave: function() {
return STACKTOP;
},