consistently use VTable over Vtable (matching stable stdlib API RawWakerVTable)
This commit is contained in:
parent
114da84996
commit
3dad266f40
34 changed files with 90 additions and 88 deletions
|
@ -1420,7 +1420,7 @@ fn build_vtable_type_di_node<'ll, 'tcx>(
|
|||
cx,
|
||||
type_map::stub(
|
||||
cx,
|
||||
Stub::VtableTy { vtable_holder },
|
||||
Stub::VTableTy { vtable_holder },
|
||||
unique_type_id,
|
||||
&vtable_type_name,
|
||||
(size, pointer_align),
|
||||
|
|
|
@ -146,7 +146,7 @@ impl<'ll> DINodeCreationResult<'ll> {
|
|||
pub enum Stub<'ll> {
|
||||
Struct,
|
||||
Union,
|
||||
VtableTy { vtable_holder: &'ll DIType },
|
||||
VTableTy { vtable_holder: &'ll DIType },
|
||||
}
|
||||
|
||||
pub struct StubInfo<'ll, 'tcx> {
|
||||
|
@ -180,9 +180,9 @@ pub(super) fn stub<'ll, 'tcx>(
|
|||
let unique_type_id_str = unique_type_id.generate_unique_id_string(cx.tcx);
|
||||
|
||||
let metadata = match kind {
|
||||
Stub::Struct | Stub::VtableTy { .. } => {
|
||||
Stub::Struct | Stub::VTableTy { .. } => {
|
||||
let vtable_holder = match kind {
|
||||
Stub::VtableTy { vtable_holder } => Some(vtable_holder),
|
||||
Stub::VTableTy { vtable_holder } => Some(vtable_holder),
|
||||
_ => None,
|
||||
};
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue