Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal committed Dec 19, 2024
1 parent 7e38d83 commit 99f4967
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,13 @@ impl AllocatedAbstractInstructionSet {
}
}

Either::Left(AllocatedOpcode::AddrDataId(_, ref id)) =>
if data_section.data_id_to_offset(id) > usize::from(Imm12::MAX.to_u16()) {
2
} else {
1
},
Either::Left(AllocatedOpcode::AddrDataId(_, ref id)) => {
if data_section.data_id_to_offset(id) > usize::from(Imm12::MAX.to_u16()) {
2
} else {
1
}
}

// cfei 0 and cfsi 0 are omitted from asm emission, don't count them for offsets
Either::Left(AllocatedOpcode::CFEI(ref op))
Expand Down

0 comments on commit 99f4967

Please sign in to comment.