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:
Moe Charm
2025-08-27 00:03:48 +09:00
parent c0b70c0e4e
commit edf5ccfcb4
10 changed files with 313 additions and 21 deletions

View File

@ -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;
}
}
}
}