Skip to content

Commit

Permalink
remove useless .clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed Oct 5, 2023
1 parent 74ad18e commit 64e9b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ fn jit_find_basic_blocks(
.range(..current_block.addr)
.next_back()
.filter(|(_, previous_block)| (!previous_block.has_sti))
.map(|(_, previous_block)| previous_block.clone());
.map(|(_, previous_block)| previous_block);

if let Some(previous_block) = previous_block {
if current_block.addr < previous_block.end_addr {
Expand Down

0 comments on commit 64e9b65

Please sign in to comment.