pub fn serialize_args(&mut self, count: u32) -> BlockCallingConvention {
        let mut out = Vec::with_capacity(count as _);

        // TODO: We can make this more efficient now that `pop` isn't so complicated
        for _ in 0..count {
            let mut val = self.pop();
            // TODO: We can use stack slots for values already on the stack but we
            //       don't refcount stack slots right now
            let loc = self.into_temp_loc(None, &mut val);

            out.push(loc);
        }

        out.reverse();

        BlockCallingConvention {
            stack_depth: self.block_state.depth,
            arguments: out,
        }
    }
/// Puts all stack values into "real" locations so that they can i.e. be set to different
/// values on different iterations of a loop
Puts all stack values into "real" locations so that they can i.e. be set to different
values on different iterations of a loop
Puts all stack values into " real " locations so that they can i . e . be set to different values on different iterations of a loop
pub fn serialize_args(&mut self, count: u32) -> BlockCallingConvention {
        let mut out = Vec::with_capacity(count as _);
        // TODO: We can make this more efficient now that `pop` isn't so complicated
        for _ in 0..count {
            let mut val = self.pop();
            // TODO: We can use stack slots for values already on the stack but we
            //       don't refcount stack slots right now
            let loc = self.into_temp_loc(None, &mut val);
            out.push(loc);
        }
        out.reverse();
        BlockCallingConvention {
            stack_depth: self.block_state.depth,
            arguments: out,
        }
    }
pub fn serialize_args ( & mut self , count : u32 ) -> BlockCallingConvention { let mut out = Vec :: with_capacity ( count as _ ) ; // TODO: We can make this more efficient now that `pop` isn't so complicated for _ in 0 .. count { let mut val = self . pop ( ) ; // TODO: We can use stack slots for values already on the stack but we //       don't refcount stack slots right now let loc = self . into_temp_loc ( None , & mut val ) ; out . push ( loc ) ; } out . reverse ( ) ; BlockCallingConvention { stack_depth : self . block_state . depth , arguments : out , } }
Puts all stack values into "real" locations so that they can i.e.
Puts all stack values into " real " locations so that they can i . e .
&mut self
count
u32