debuginfo: Refactor debuginfo generation for types -- Address outstanding FIXMEs.
This commit is contained in:
parent
07a1194edf
commit
19707b0ff2
3 changed files with 19 additions and 20 deletions
|
@ -1120,11 +1120,7 @@ fn build_closure_env_di_node<'ll, 'tcx>(
|
|||
),
|
||||
// Fields:
|
||||
|cx, owner| build_upvar_field_di_nodes(cx, closure_env_type, owner),
|
||||
// Generics:
|
||||
|_| {
|
||||
// FIXME(mw): Should we specify generic parameters for closures?
|
||||
smallvec![]
|
||||
},
|
||||
NO_GENERICS,
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -1178,10 +1174,6 @@ fn build_union_type_di_node<'ll, 'tcx>(
|
|||
)
|
||||
}
|
||||
|
||||
//=-----------------------------------------------------------------------------
|
||||
// Enums
|
||||
//=-----------------------------------------------------------------------------
|
||||
|
||||
// FIXME(eddyb) maybe precompute this? Right now it's computed once
|
||||
// per generator monomorphization, but it doesn't depend on substs.
|
||||
fn generator_layout_and_saved_local_names<'tcx>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue