Remove max_arena_objects configuration

This isn't something we can't really control so out it goes, I guess.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-01-17 19:51:19 -08:00
parent 5d30719fa2
commit d06e1b82dd
2 changed files with 0 additions and 11 deletions

View File

@@ -3,7 +3,6 @@ use crate::object::*;
use crate::scope::*;
use crate::syn::{ast::SpStmt, span::Span};
use crate::vm::{error::*, inst::*};
use std::cell::RefCell;
use std::collections::BTreeMap;
use std::rc::Rc;
@@ -318,7 +317,6 @@ pub struct MachineBuilder {
pub(super) globals: BTreeMap<Word, Value>,
pub(super) scope_stack: ScopeStack,
pub(super) max_stack_size: Option<usize>,
pub(super) max_arena_objects: Option<usize>,
}
impl MachineBuilder {
@@ -327,11 +325,6 @@ impl MachineBuilder {
self
}
pub fn max_arena_objects(mut self, max_arena_objects: Option<usize>) -> Self {
self.max_arena_objects = max_arena_objects;
self
}
pub(super) fn register_builtin_fun(
&mut self,
name: &str,