nhwn: use plain u32 in DebugLoc
This commit is contained in:
parent
f5aa1bceb9
commit
408d4027d0
3 changed files with 15 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
use super::metadata::{file_metadata, UNKNOWN_COLUMN_NUMBER, UNKNOWN_LINE_NUMBER};
|
||||
use super::metadata::file_metadata;
|
||||
use super::utils::DIB;
|
||||
use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
|
||||
use rustc_codegen_ssa::traits::*;
|
||||
|
@ -102,8 +102,8 @@ fn make_mir_scope(
|
|||
DIB(cx),
|
||||
parent_scope.dbg_scope.unwrap(),
|
||||
file_metadata,
|
||||
loc.line.map_or(UNKNOWN_LINE_NUMBER, |n| n.get()),
|
||||
loc.col.map_or(UNKNOWN_COLUMN_NUMBER, |n| n.get()),
|
||||
loc.line,
|
||||
loc.col,
|
||||
)
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue