diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-12 15:50:06 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-12 16:55:02 +1000 |
commit | d387948354206fe214685c3d56d066fbae905fc6 (patch) | |
tree | 7db6283e569c3d364fe6db3d3312975ae1e6faa5 /src/ldebug.js | |
parent | ef9caa4af6a55e12a3a7d58fde7159965b7bf749 (diff) | |
download | fengari-d387948354206fe214685c3d56d066fbae905fc6.tar.gz fengari-d387948354206fe214685c3d56d066fbae905fc6.tar.bz2 fengari-d387948354206fe214685c3d56d066fbae905fc6.zip |
Rename CallInfo l_savedpc field to l_code
Diffstat (limited to 'src/ldebug.js')
-rw-r--r-- | src/ldebug.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldebug.js b/src/ldebug.js index 5b537c2..5839e83 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -631,7 +631,7 @@ const luaG_traceexec = function(L) { if (L.status === TS.LUA_YIELD) { /* did hook yield? */ if (counthook) L.hookcount = 1; /* undo decrement to zero */ - ci.l_savedpc--; /* undo increment (resume will increment it again) */ + ci.pcOff--; /* undo increment (resume will increment it again) */ ci.callstatus |= lstate.CIST_HOOKYIELD; /* mark that it yielded */ ci.func = L.top - 1; /* protect stack below results */ ldo.luaD_throw(L, TS.LUA_YIELD); |