summaryrefslogtreecommitdiff
path: root/src/ldo.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldo.js')
-rw-r--r--src/ldo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldo.js b/src/ldo.js
index 7ee9582..41cbb83 100644
--- a/src/ldo.js
+++ b/src/ldo.js
@@ -90,7 +90,7 @@ const luaD_precall = function(L, off, nresults) {
ci.func = func;
ci.l_base = base;
L.top = ci.top = base + fsize;
- ci.l_savedpc = p.code;
+ ci.l_code = p.code;
ci.pcOff = 0;
ci.callstatus = lstate.CIST_LUA;