diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-12 16:02:43 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-12 16:55:05 +1000 |
commit | 6a3290116941015ac63cf3857c45247f140fab45 (patch) | |
tree | 6e126d23dc57011a49d60a81cbd3b5a12cf4576c /src/ldo.js | |
parent | 1556f554f8d5f100bce10918d914debd467bd827 (diff) | |
download | fengari-6a3290116941015ac63cf3857c45247f140fab45.tar.gz fengari-6a3290116941015ac63cf3857c45247f140fab45.tar.bz2 fengari-6a3290116941015ac63cf3857c45247f140fab45.zip |
Rename .pcOff field to l_savedpc
Diffstat (limited to 'src/ldo.js')
-rw-r--r-- | src/ldo.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,7 +91,7 @@ const luaD_precall = function(L, off, nresults) { ci.l_base = base; L.top = ci.top = base + fsize; ci.l_code = p.code; - ci.pcOff = 0; + ci.l_savedpc = 0; ci.callstatus = lstate.CIST_LUA; return false; @@ -108,7 +108,7 @@ const luaD_poscall = function(L, ci, firstResult, nres) { if (L.hookmask & (defs.LUA_MASKRET | defs.LUA_MASKLINE)) { if (L.hookmask & defs.LUA_MASKRET) luaD_hook(L, defs.LUA_HOOKRET, -1); - L.oldpc = ci.previous.pcOff; /* 'oldpc' for caller function */ + L.oldpc = ci.previous.l_savedpc; /* 'oldpc' for caller function */ } let res = ci.funcOff; |