Ignore bcctr, bclr in branch_offset
This commit is contained in:
parent
6a3476639a
commit
94c87b0912
|
@ -278,7 +278,7 @@ impl Ins {
|
|||
pub fn branch_offset(&self) -> Option<i32> {
|
||||
match self.op {
|
||||
Opcode::B => Some(self.field_LI() as i32),
|
||||
Opcode::Bc | Opcode::Bcctr | Opcode::Bclr => Some(self.field_BD() as i32),
|
||||
Opcode::Bc => Some(self.field_BD() as i32),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue