Skip to content

Commit

Permalink
Simplify.
Browse files Browse the repository at this point in the history
  • Loading branch information
WINSDK committed Apr 20, 2024
1 parent f8ef062 commit 582ca54
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions processor/src/blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,6 @@ impl Processor {
break;
}

if self.index.get_sym_by_addr(addr).is_some() {
boundaries.push(addr);
}

if let Some(inst) = self.instruction_by_addr(addr) {
boundaries.push(addr);
addr += self.instruction_width(inst);
Expand All @@ -567,11 +563,6 @@ impl Processor {
break;
}

// We found some labelled bytes, so those would have to be in a different block.
if addr != baddr && self.index.get_sym_by_addr(baddr).is_some() {
break;
}

baddr += 1;
}

Expand Down

0 comments on commit 582ca54

Please sign in to comment.