From 6a3290116941015ac63cf3857c45247f140fab45 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 12 May 2017 16:02:43 +1000 Subject: Rename .pcOff field to l_savedpc --- src/ldo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ldo.js') diff --git a/src/ldo.js b/src/ldo.js index 41cbb83..5564e27 100644 --- a/src/ldo.js +++ b/src/ldo.js @@ -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; -- cgit v1.2.3-54-g00ecf