summaryrefslogtreecommitdiff
path: root/src/lstate.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-12 15:50:06 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-12 16:55:02 +1000
commitd387948354206fe214685c3d56d066fbae905fc6 (patch)
tree7db6283e569c3d364fe6db3d3312975ae1e6faa5 /src/lstate.js
parentef9caa4af6a55e12a3a7d58fde7159965b7bf749 (diff)
downloadfengari-d387948354206fe214685c3d56d066fbae905fc6.tar.gz
fengari-d387948354206fe214685c3d56d066fbae905fc6.tar.bz2
fengari-d387948354206fe214685c3d56d066fbae905fc6.zip
Rename CallInfo l_savedpc field to l_code
Diffstat (limited to 'src/lstate.js')
-rw-r--r--src/lstate.js4
1 files changed, 2 insertions, 2 deletions
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;