mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-13 16:15:16 +00:00
Run rustfmt
This commit is contained in:
parent
8348417274
commit
d2b70cd5cd
1 changed files with 6 additions and 3 deletions
|
@ -180,9 +180,12 @@ impl CodeInfo {
|
|||
// we don't want to worry about Continue or Break, they use unwinding to jump to
|
||||
// their targets and as such the stack size is taken care of in frame.rs by setting
|
||||
// it back to the level it was at when SetupLoop was run
|
||||
let jump_label = instr.label_arg().filter(
|
||||
|_| !matches!(instr, Instruction::Continue { .. } | Instruction::Break { .. }),
|
||||
);
|
||||
let jump_label = instr.label_arg().filter(|_| {
|
||||
!matches!(
|
||||
instr,
|
||||
Instruction::Continue { .. } | Instruction::Break { .. }
|
||||
)
|
||||
});
|
||||
if let Some(&target_block) = jump_label {
|
||||
let effect = instr.stack_effect(true);
|
||||
let target_depth = add_ui(depth, effect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue