Misc changes

This commit is contained in:
bjorn3 2020-03-07 11:27:49 +01:00
parent a29730e288
commit 152bde63fe
2 changed files with 3 additions and 7 deletions

View file

@ -67,8 +67,8 @@ impl<'tcx> DebugContext<'tcx> {
dwarf.unit.line_program = line_program;
{
let name = dwarf.strings.add(&*name);
let comp_dir = dwarf.strings.add(&*comp_dir);
let name = dwarf.strings.add(name);
let comp_dir = dwarf.strings.add(comp_dir);
let root = dwarf.unit.root();
let root = dwarf.unit.get_mut(root);