Docs: Add phase_9_79b_3_vm_vtable_thunks_and_pic.md\n- Plan to formalize TypeMeta+Thunk and upgrade PIC to poly\n- Diagnostics, risks, milestones, exit criteria, and Phase 10 readiness
This commit is contained in:
@ -65,6 +65,8 @@ impl InstanceBox {
|
||||
|
||||
/// ユーザー定義Box専用コンストラクタ
|
||||
pub fn from_declaration(class_name: String, fields: Vec<String>, methods: HashMap<String, ASTNode>) -> Self {
|
||||
// Invalidate caches for this class since methods layout may change between runs
|
||||
crate::runtime::cache_versions::bump_version(&format!("BoxRef:{}", class_name));
|
||||
let mut field_map = HashMap::new();
|
||||
let mut legacy_field_map = HashMap::new();
|
||||
|
||||
@ -451,4 +453,4 @@ mod tests {
|
||||
let _box_ref: &dyn NyashBox = &instance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user