Bump limits arbitrary (#108)
This commit is contained in:
parent
f6657bace4
commit
5d99077e17
|
@ -19,10 +19,10 @@ use nan_preserving_float::{F32, F64};
|
||||||
use isa;
|
use isa;
|
||||||
|
|
||||||
/// Maximum number of entries in value stack.
|
/// Maximum number of entries in value stack.
|
||||||
pub const DEFAULT_VALUE_STACK_LIMIT: usize = (512 * 1024) / ::std::mem::size_of::<RuntimeValue>();
|
pub const DEFAULT_VALUE_STACK_LIMIT: usize = (1024 * 1024) / ::std::mem::size_of::<RuntimeValue>();
|
||||||
|
|
||||||
// TODO: Make these parameters changeble.
|
// TODO: Make these parameters changeble.
|
||||||
pub const DEFAULT_CALL_STACK_LIMIT: usize = 16 * 1024;
|
pub const DEFAULT_CALL_STACK_LIMIT: usize = 64 * 1024;
|
||||||
|
|
||||||
/// Interpreter action to execute after executing instruction.
|
/// Interpreter action to execute after executing instruction.
|
||||||
pub enum InstructionOutcome {
|
pub enum InstructionOutcome {
|
||||||
|
|
Loading…
Reference in New Issue