summaryrefslogtreecommitdiff
path: root/src/lvm.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-22 17:48:16 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-22 18:46:26 +1000
commit20efa5c3b00e3a82ab135ec4a1f5d0563912aefe (patch)
tree628fa40d294e85e3e3f4d866fa49f6bd45d963ef /src/lvm.js
parent9294302fc069e0b8d893521fa552b5ed66601024 (diff)
downloadfengari-20efa5c3b00e3a82ab135ec4a1f5d0563912aefe.tar.gz
fengari-20efa5c3b00e3a82ab135ec4a1f5d0563912aefe.tar.bz2
fengari-20efa5c3b00e3a82ab135ec4a1f5d0563912aefe.zip
Add luaD_checkstack calls
Diffstat (limited to 'src/lvm.js')
-rw-r--r--src/lvm.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lvm.js b/src/lvm.js
index 6e1012c..6711bfa 100644
--- a/src/lvm.js
+++ b/src/lvm.js
@@ -645,6 +645,7 @@ const luaV_execute = function(L) {
if (b < 0) {
b = n; /* get all var. arguments */
+ ldo.luaD_checkstack(L, n);
L.top = ra + n;
}