Fix build_value_labels_ranges for newBE when there are no labels

This commit is contained in:
bjorn3
2021-02-04 11:46:20 +01:00
parent 7bd96c8e2f
commit 602006ff9d
5 changed files with 8 additions and 12 deletions

View File

@@ -343,7 +343,7 @@ pub struct MachCompileResult {
/// Unwind info.
pub unwind_info: Option<unwind_input::UnwindInfo<Reg>>,
/// Debug info: value labels to registers/stackslots at code offsets.
pub value_labels_ranges: Option<ValueLabelsRanges>,
pub value_labels_ranges: ValueLabelsRanges,
/// Debug info: stackslots to stack pointer offsets.
pub stackslot_offsets: PrimaryMap<StackSlot, u32>,
}