aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_parse.c b/src/lj_parse.c
index ed695e19..acc25519 100644
--- a/src/lj_parse.c
+++ b/src/lj_parse.c
@@ -1155,9 +1155,9 @@ static GCproto *fs_finish(LexState *ls, BCLine line)
1155 GCproto *pt; 1155 GCproto *pt;
1156 1156
1157 /* Apply final fixups. */ 1157 /* Apply final fixups. */
1158 var_remove(ls, 0);
1159 lua_assert(fs->bl == NULL); 1158 lua_assert(fs->bl == NULL);
1160 fs_fixup_ret(fs); 1159 fs_fixup_ret(fs);
1160 var_remove(ls, 0);
1161 1161
1162 /* Calculate total size of prototype including all colocated arrays. */ 1162 /* Calculate total size of prototype including all colocated arrays. */
1163 sizept = sizeof(GCproto) + fs->pc*sizeof(BCIns) + fs->nkgc*sizeof(GCRef); 1163 sizept = sizeof(GCproto) + fs->pc*sizeof(BCIns) + fs->nkgc*sizeof(GCRef);