Ignore bcctr, bclr in branch_offset

This commit is contained in:
Luke Street 2022-09-27 17:50:59 -04:00
parent 6a3476639a
commit 94c87b0912
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}
}