mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 12:34:22 +01:00
move more possible option higher
This commit is contained in:
@@ -133,8 +133,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::Label(v) => unreachable!("Unresolved label: {}", v),
|
||||
BranchOffset::Offset(v) => *v,
|
||||
BranchOffset::Label(v) => unreachable!("Unresolved label: {}", v),
|
||||
BranchOffset::Placeholder => unreachable!("Unresolved placeholder"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user