Misc changes
This commit is contained in:
parent
a29730e288
commit
152bde63fe
2 changed files with 3 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue