From d387948354206fe214685c3d56d066fbae905fc6 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 12 May 2017 15:50:06 +1000 Subject: Rename CallInfo l_savedpc field to l_code --- src/lstate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lstate.js') diff --git a/src/lstate.js b/src/lstate.js index 3865ae5..f3e91e2 100644 --- a/src/lstate.js +++ b/src/lstate.js @@ -27,8 +27,8 @@ class CallInfo { /* only for Lua functions */ this.l_base = NaN; /* base for this function */ - this.l_savedpc = null; - this.pcOff = NaN; /* offset into l_savedpc */ + this.l_code = null; /* reference to this.func.p.code */ + this.pcOff = NaN; /* offset into l_code */ /* only for JS functions */ this.c_k = null; /* continuation in case of yields */ this.c_old_errfunc = null; -- cgit v1.2.3-54-g00ecf