pub fn alloc_stack(&mut self, ticket_type: TicketType) -> StackTicket {
        self.current_stack_top -= 8;
        self.max_stack_top = std::cmp::min(self.max_stack_top, self.current_stack_top);
        if ticket_type == TicketType::Reference {
            self.ref_list.push(self.current_stack_top);
        }
        StackTicket {
            offset: self.current_stack_top,
        }
    }
// Reserve a slot from the current stack frame and get a ticket for it
Reserve a slot from the current stack frame and get a ticket for it
Reserve a slot from the current stack frame and get a ticket for it
pub fn alloc_stack(&mut self, ticket_type: TicketType) -> StackTicket {
        self.current_stack_top -= 8;
        self.max_stack_top = std::cmp::min(self.max_stack_top, self.current_stack_top);
        if ticket_type == TicketType::Reference {
            self.ref_list.push(self.current_stack_top);
        }
        StackTicket {
            offset: self.current_stack_top,
        }
    }
pub fn alloc_stack ( & mut self , ticket_type : TicketType ) -> StackTicket { self . current_stack_top -= 8 ; self . max_stack_top = std :: cmp :: min ( self . max_stack_top , self . current_stack_top ) ; if ticket_type == TicketType :: Reference { self . ref_list . push ( self . current_stack_top ) ; } StackTicket { offset : self . current_stack_top , } }
Reserve a slot from the current stack frame and get a ticket for it
Reserve a slot from the current stack frame and get a ticket for it
&mut self
ticket_type
TicketType