feat: retain read-only execution frames across instruction slices

This commit is contained in:
2026-10-23 00:59:23 +08:00
parent e511e393d9
commit 1c729b4128
9 changed files with 298 additions and 10 deletions
+2
View File
@@ -12,6 +12,7 @@ pub struct Vm {
pub(crate) objects: ObjectStore,
pub(crate) last_traceback: Vec<ExecutionLocation>,
pub(crate) source_type_checks: bool,
pub(crate) suspended_call: Option<crate::frame::SuspendedCall>,
}
impl Vm {
@@ -166,6 +167,7 @@ impl Vm {
objects: ObjectStore::new()?,
last_traceback: Vec::new(),
source_type_checks: false,
suspended_call: None,
})
}