pub fn emit_box_int(&mut self) {
        let value = self.alloc_stack(TicketType::Plain);
        // mov [rbp+{}],rax
        self.emit_with_stack(&[0x48, 0x89, 0x85], &value);
        // xor rsi,rsi
        self.emit(&[0x48, 0x31, 0xF6]);
        self.call_builtin_alloc(INT_PROTOTYPE);
        // mov rcx,[rbp+{}]
        self.emit_with_stack(&[0x48, 0x8B, 0x8D], &value);
        self.free_stack(value);
        // mov DWORD PTR [rax+OBJECT_ATTRIBUTE_OFFSET],ecx
        self.emit(&[0x89, 0x48, OBJECT_ATTRIBUTE_OFFSET as u8]);
    }
// Box the int value in rax and return in rax
Box the int value in rax and return in rax
Box the int value in rax and return in rax
pub fn emit_box_int(&mut self) {
        let value = self.alloc_stack(TicketType::Plain);
        // mov [rbp+{}],rax
        self.emit_with_stack(&[0x48, 0x89, 0x85], &value);
        // xor rsi,rsi
        self.emit(&[0x48, 0x31, 0xF6]);
        self.call_builtin_alloc(INT_PROTOTYPE);
        // mov rcx,[rbp+{}]
        self.emit_with_stack(&[0x48, 0x8B, 0x8D], &value);
        self.free_stack(value);
        // mov DWORD PTR [rax+OBJECT_ATTRIBUTE_OFFSET],ecx
        self.emit(&[0x89, 0x48, OBJECT_ATTRIBUTE_OFFSET as u8]);
    }
pub fn emit_box_int ( & mut self ) { let value = self . alloc_stack ( TicketType :: Plain ) ; // mov [rbp+{}],rax self . emit_with_stack ( & [ 0x48 , 0x89 , 0x85 ] , & value ) ; // xor rsi,rsi self . emit ( & [ 0x48 , 0x31 , 0xF6 ] ) ; self . call_builtin_alloc ( INT_PROTOTYPE ) ; // mov rcx,[rbp+{}] self . emit_with_stack ( & [ 0x48 , 0x8B , 0x8D ] , & value ) ; self . free_stack ( value ) ; // mov DWORD PTR [rax+OBJECT_ATTRIBUTE_OFFSET],ecx self . emit ( & [ 0x89 , 0x48 , OBJECT_ATTRIBUTE_OFFSET as u8 ] ) ; }
Box the int value in rax and return in rax
Box the int value in rax and return in rax
&mut self