chore: 未使用インポートの削除と軽微な警告修正

This commit is contained in:
Selfhosting Dev
2025-09-16 04:23:20 +09:00
parent edd95406aa
commit 18bc386bc5
10 changed files with 15 additions and 18 deletions

View File

@ -11,11 +11,10 @@
* Behavior and public APIs are preserved. This is a pure move/refactor.
*/
use crate::mir::{MirModule, MirFunction, MirInstruction, ValueId, BasicBlockId};
use crate::mir::{MirModule, MirFunction, MirInstruction, BasicBlockId};
use crate::box_trait::NyashBox;
use super::{vm::VM, vm::VMError, vm::VMValue};
use crate::backend::vm_control_flow::ControlFlow;
use std::sync::Arc;
impl VM {
/// Execute a MIR module

View File

@ -6,7 +6,7 @@
* - Debug prints for roots snapshot and shallow reachability
*/
use super::vm::{VM, VMError, VMValue};
use super::vm::{VM, VMValue};
impl VM {
/// Enter a GC root region and return a guard that leaves on drop
@ -96,4 +96,3 @@ impl VM {
eprintln!("[GC] depth2_children: total={} top5={:?}", child_count, top);
}
}

View File

@ -1,5 +1,4 @@
use crate::mir::ValueId;
use std::sync::Arc;
use crate::backend::vm::ControlFlow;
use crate::backend::{VM, VMError, VMValue};