fn pop_breakable_block(&mut self) {
      let block = self.breakable_blocks.pop().unwrap();
      if !block.breaks.is_empty() {
         self.chunk.patch(block.start, Opcode::EnterBreakableBlock);
         for jump in block.breaks {
            // Unwrapping is safe here because if the loop is too large the error was caught already
            // before `pop_breakable_block` was called.
            self.chunk.patch(jump, Opcode::jump_forward(jump, self.chunk.len()).unwrap());
         }
         self.chunk.emit((Opcode::ExitBreakableBlock, 1));
      }
   }
/// Pops the topmost breakable block.
Pops the topmost breakable block.
Pops the topmost breakable block .
fn pop_breakable_block(&mut self) {
      let block = self.breakable_blocks.pop().unwrap();
      if !block.breaks.is_empty() {
         self.chunk.patch(block.start, Opcode::EnterBreakableBlock);
         for jump in block.breaks {
            // Unwrapping is safe here because if the loop is too large the error was caught already
            // before `pop_breakable_block` was called.
            self.chunk.patch(jump, Opcode::jump_forward(jump, self.chunk.len()).unwrap());
         }
         self.chunk.emit((Opcode::ExitBreakableBlock, 1));
      }
   }
fn pop_breakable_block ( & mut self ) { let block = self . breakable_blocks . pop ( ) . unwrap ( ) ; if ! block . breaks . is_empty ( ) { self . chunk . patch ( block . start , Opcode :: EnterBreakableBlock ) ; for jump in block . breaks { // Unwrapping is safe here because if the loop is too large the error was caught already // before `pop_breakable_block` was called. self . chunk . patch ( jump , Opcode :: jump_forward ( jump , self . chunk . len ( ) ) . unwrap ( ) ) ; } self . chunk . emit ( ( Opcode :: ExitBreakableBlock , 1 ) ) ; } }
Pops the topmost breakable block.
Pops the topmost breakable block .
&mut self