diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-23 12:40:46 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-23 12:47:12 +0100 |
commit | 2ffe44e84bfb72f44e4a2a598591cf0ec1c1c704 (patch) | |
tree | 3ef6287240366503951d72cb79ee0717e7f740f7 /src/lvm.js | |
parent | 6d88293ea029a2372250297bd014b78d40507aa7 (diff) | |
download | fengari-2ffe44e84bfb72f44e4a2a598591cf0ec1c1c704.tar.gz fengari-2ffe44e84bfb72f44e4a2a598591cf0ec1c1c704.tar.bz2 fengari-2ffe44e84bfb72f44e4a2a598591cf0ec1c1c704.zip |
Fixed bad lua_gettop
Diffstat (limited to 'src/lvm.js')
-rw-r--r-- | src/lvm.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -521,6 +521,7 @@ const luaV_execute = function(L) { for (let aux = 0; nfuncOff + aux < lim; aux++) L.stack[ofuncOff + aux] = L.stack[nfuncOff + aux]; oci.func = nci.func; + oci.funcOff = nci.funcOff; oci.u.l.base = ofuncOff + (nci.u.l.base - nfuncOff); L.top = ofuncOff + (L.top - nfuncOff); oci.top = L.top; |