Revert "move more possible option higher"

This reverts commit c0fdaeb475.
This commit is contained in:
Nikita Sivukhin
2025-10-22 20:20:54 +04:00
parent 8e1cec5104
commit b32d22a2fd

View File

@@ -134,8 +134,8 @@ impl BranchOffset {
/// Returns the offset value. Panics if the branch offset is a label or placeholder.
pub fn as_offset_int(&self) -> InsnReference {
match self {
BranchOffset::Offset(v) => *v,
BranchOffset::Label(v) => unreachable!("Unresolved label: {}", v),
BranchOffset::Offset(v) => *v,
BranchOffset::Placeholder => unreachable!("Unresolved placeholder"),
}
}