Add comment
This commit is contained in:
parent
15bfd9da85
commit
21f13afafe
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ impl<'tcx> MonoItem<'tcx> {
|
||||||
.map(|hir_id| tcx.hir().span(hir_id))
|
.map(|hir_id| tcx.hir().span(hir_id))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Only used by rustc_codegen_cranelift
|
||||||
pub fn codegen_dep_node(&self, tcx: TyCtxt<'tcx>) -> DepNode {
|
pub fn codegen_dep_node(&self, tcx: TyCtxt<'tcx>) -> DepNode {
|
||||||
crate::dep_graph::make_compile_mono_item(tcx, self)
|
crate::dep_graph::make_compile_mono_item(tcx, self)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue