Lift limits little bit more.

This commit is contained in:
Sergey Pepyakin 2018-06-11 18:29:37 +03:00
parent 724a32ad60
commit bef642e3fd
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ use memory_units::Pages;
use nan_preserving_float::{F32, F64}; use nan_preserving_float::{F32, F64};
/// Maximum number of entries in value stack. /// Maximum number of entries in value stack.
pub const DEFAULT_VALUE_STACK_LIMIT: usize = 16384; pub const DEFAULT_VALUE_STACK_LIMIT: usize = 4 * 1024 * 1024;
/// Maximum number of entries in frame stack. /// Maximum number of entries in frame stack.
pub const DEFAULT_FRAME_STACK_LIMIT: usize = 16384; pub const DEFAULT_FRAME_STACK_LIMIT: usize = 4 * 1024 * 1024;
/// Function interpreter. /// Function interpreter.
pub struct Interpreter<'a, E: Externals + 'a> { pub struct Interpreter<'a, E: Externals + 'a> {