summaryrefslogtreecommitdiff
path: root/src/lstate.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-12 16:02:43 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-12 16:55:05 +1000
commit6a3290116941015ac63cf3857c45247f140fab45 (patch)
tree6e126d23dc57011a49d60a81cbd3b5a12cf4576c /src/lstate.js
parent1556f554f8d5f100bce10918d914debd467bd827 (diff)
downloadfengari-6a3290116941015ac63cf3857c45247f140fab45.tar.gz
fengari-6a3290116941015ac63cf3857c45247f140fab45.tar.bz2
fengari-6a3290116941015ac63cf3857c45247f140fab45.zip
Rename .pcOff field to l_savedpc
Diffstat (limited to 'src/lstate.js')
-rw-r--r--src/lstate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lstate.js b/src/lstate.js
index f3e91e2..7d7ff80 100644
--- a/src/lstate.js
+++ b/src/lstate.js
@@ -28,7 +28,7 @@ class CallInfo {
/* only for Lua functions */
this.l_base = NaN; /* base for this function */
this.l_code = null; /* reference to this.func.p.code */
- this.pcOff = NaN; /* offset into l_code */
+ this.l_savedpc = NaN; /* offset into l_code */
/* only for JS functions */
this.c_k = null; /* continuation in case of yields */
this.c_old_errfunc = null;