diff options
author | Mike Pall <mike> | 2021-07-21 12:32:19 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2021-07-21 12:32:19 +0200 |
commit | c2dd3b4d34d68efa2f86d392d15006509fed2c07 (patch) | |
tree | 5557565e79f7653a19252e83e9c32bfd6ba19ced /src/host | |
parent | bc98a3ade56958a666b4122ea0cac372f69e571c (diff) | |
parent | 81a797373fa5364f7640b7f1668abada56a45d6b (diff) | |
download | luajit-c2dd3b4d34d68efa2f86d392d15006509fed2c07.tar.gz luajit-c2dd3b4d34d68efa2f86d392d15006509fed2c07.tar.bz2 luajit-c2dd3b4d34d68efa2f86d392d15006509fed2c07.zip |
Merge branch 'master' into v2.1
Diffstat (limited to 'src/host')
-rw-r--r-- | src/host/minilua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/minilua.c b/src/host/minilua.c index 79150286..cfc7491d 100644 --- a/src/host/minilua.c +++ b/src/host/minilua.c | |||
@@ -1134,7 +1134,7 @@ if(!cl->isC){ | |||
1134 | CallInfo*ci; | 1134 | CallInfo*ci; |
1135 | StkId st,base; | 1135 | StkId st,base; |
1136 | Proto*p=cl->p; | 1136 | Proto*p=cl->p; |
1137 | luaD_checkstack(L,p->maxstacksize); | 1137 | luaD_checkstack(L,p->maxstacksize+p->numparams); |
1138 | func=restorestack(L,funcr); | 1138 | func=restorestack(L,funcr); |
1139 | if(!p->is_vararg){ | 1139 | if(!p->is_vararg){ |
1140 | base=func+1; | 1140 | base=func+1; |