@@ -93,7 +93,7 @@ use crate::runtime::vm::mpk::ProtectionKey;
9393use crate :: runtime:: vm:: {
9494 self , GcStore , Imports , InstanceAllocationRequest , InstanceAllocator , InstanceHandle ,
9595 Interpreter , InterpreterRef , ModuleRuntimeInfo , OnDemandInstanceAllocator , SendSyncPtr ,
96- SignalHandler , StoreBox , StorePtr , Unwind , VMContext , VMFuncRef , VMGcRef , VMStoreContext ,
96+ SignalHandler , StoreBox , StorePtr , Unwind , VMContext , VMFuncRef , VMStoreContext ,
9797} ;
9898use crate :: trampoline:: VMHostGlobalContext ;
9999use crate :: { Engine , Module , Trap , Val , ValRaw , module:: ModuleRegistry } ;
@@ -1638,7 +1638,7 @@ impl StoreOpaque {
16381638 let raw: u32 = unsafe { core:: ptr:: read ( stack_slot) } ;
16391639 log:: trace!( "Stack slot @ {stack_slot:p} = {raw:#x}" ) ;
16401640
1641- let gc_ref = VMGcRef :: from_raw_u32 ( raw) ;
1641+ let gc_ref = vm :: VMGcRef :: from_raw_u32 ( raw) ;
16421642 if gc_ref. is_some ( ) {
16431643 unsafe {
16441644 gc_roots_list
@@ -2298,24 +2298,6 @@ unsafe impl<T> vm::VMStore for StoreInner<T> {
22982298 delta_result
22992299 }
23002300
2301- #[ cfg( feature = "gc" ) ]
2302- unsafe fn maybe_async_grow_or_collect_gc_heap (
2303- & mut self ,
2304- root : Option < VMGcRef > ,
2305- bytes_needed : Option < u64 > ,
2306- ) -> Result < Option < VMGcRef > > {
2307- unsafe { self . inner . maybe_async_gc ( root, bytes_needed) }
2308- }
2309-
2310- #[ cfg( not( feature = "gc" ) ) ]
2311- unsafe fn maybe_async_grow_or_collect_gc_heap (
2312- & mut self ,
2313- root : Option < VMGcRef > ,
2314- _bytes_needed : Option < u64 > ,
2315- ) -> Result < Option < VMGcRef > > {
2316- Ok ( root)
2317- }
2318-
23192301 #[ cfg( feature = "component-model" ) ]
23202302 fn component_calls ( & mut self ) -> & mut vm:: component:: CallContexts {
23212303 & mut self . component_calls
0 commit comments