Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nekevss committed Feb 5, 2023
1 parent 807ce49 commit 75dfdbe
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions boa_engine/src/bytecompiler/statement/break.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,10 @@ impl ByteCompiler<'_, '_> {
self.emit_opcode_with_two_operands(Opcode::Break);

if let Some(node_label) = node.label() {
self.search_jump_info_label(
target_jump_label,
node_label,
)?;
self.search_jump_info_label(target_jump_label, node_label)?;

if !has_finally_or_is_finally {
self.search_jump_info_label(
break_label,
node_label,
)?;
self.search_jump_info_label(break_label, node_label)?;
return Ok(());
}
} else {
Expand Down

0 comments on commit 75dfdbe

Please sign in to comment.