fn emit_loop(&mut self, loop_start: usize) {
        self.emit_byte(Opcode::Loop as u8);

        let offset = self.last_byte() - loop_start + 2;
        if offset > u16::MAX.into() {
            panic!("To much code to jump over.");
        }

        let bytes = (offset as u16).to_le_bytes();

        self.emit_bytes(bytes[0], bytes[1]);
    }
/// Emit a loop instruction, which jumps backwards by
/// the given offset.
Emit a loop instruction, which jumps backwards by
the given offset.
Emit a loop instruction which jumps backwards by the given offset .
fn emit_loop(&mut self, loop_start: usize) {
        self.emit_byte(Opcode::Loop as u8);
        let offset = self.last_byte() - loop_start + 2;
        if offset > u16::MAX.into() {
            panic!("To much code to jump over.");
        }
        let bytes = (offset as u16).to_le_bytes();
        self.emit_bytes(bytes[0], bytes[1]);
    }
fn emit_loop ( & mut self , loop_start : usize ) { self . emit_byte ( Opcode :: Loop as u8 ) ; let offset = self . last_byte ( ) - loop_start + 2 ; if offset > u16 :: MAX . into ( ) { panic ! ( " " ) ; } let bytes = ( offset as u16 ) . to_le_bytes ( ) ; self . emit_bytes ( bytes [ 0 ] , bytes [ 1 ] ) ; }
Emit a loop instruction, which jumps backwards by
the given offset.
Emit a loop instruction which jumps backwards by the given offset .
&mut self
loop_start
usize