From 55ff7f8f3527527cf06189a2fd7c41a61b69b385 Mon Sep 17 00:00:00 2001 From: Zaoqi Date: Fri, 9 Aug 2019 22:19:27 +0800 Subject: [PATCH] MAXSTACK = 1024;LUAI_MAXVARS = 1024; --- src/core/org/luaj/vm2/compiler/Constants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/org/luaj/vm2/compiler/Constants.java b/src/core/org/luaj/vm2/compiler/Constants.java index fc505b49..f031cf57 100644 --- a/src/core/org/luaj/vm2/compiler/Constants.java +++ b/src/core/org/luaj/vm2/compiler/Constants.java @@ -38,10 +38,10 @@ import org.luaj.vm2.Upvaldesc; public class Constants extends Lua { /** Maximum stack size of a luaj vm interpreter instance. */ - public static final int MAXSTACK = 250; + public static final int MAXSTACK = 1024; static final int LUAI_MAXUPVAL = 0xff; - static final int LUAI_MAXVARS = 200; + static final int LUAI_MAXVARS = 1024; static final int NO_REG = MAXARG_A;