rustc_mir: track inlined callees in SourceScopeData.
This commit is contained in:
parent
708fc0b692
commit
6bc5eafbce
41 changed files with 124 additions and 74 deletions
|
@ -212,7 +212,12 @@ fn new_body<'tcx>(
|
|||
source,
|
||||
basic_blocks,
|
||||
IndexVec::from_elem_n(
|
||||
SourceScopeData { span, parent_scope: None, local_data: ClearCrossCrate::Clear },
|
||||
SourceScopeData {
|
||||
span,
|
||||
parent_scope: None,
|
||||
inlined: None,
|
||||
local_data: ClearCrossCrate::Clear,
|
||||
},
|
||||
1,
|
||||
),
|
||||
local_decls,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue