//! codegen unit:
//!
//! - Constants
-//! - Vtables
+//! - VTables
//! - Object Shims
//!
//!
}
}
ty::InstanceDef::DropGlue(_, Some(_))
- | ty::InstanceDef::VtableShim(..)
+ | ty::InstanceDef::VTableShim(..)
| ty::InstanceDef::ReifyShim(..)
| ty::InstanceDef::ClosureOnceShim { .. }
| ty::InstanceDef::Item(..)
output.push(create_fn_mono_item(tcx, fn_instance, DUMMY_SP));
}
}
+ GlobalAlloc::VTable(ty, trait_ref) => {
+ let alloc_id = tcx.vtable_allocation((ty, trait_ref));
+ collect_miri(tcx, alloc_id, output)
+ }
}
}