pub fn push_value(&self, block: &mut Block, value: Expression) -> Result<()> {
        match self {
            Mode::X86 => block.assign(self.sp(), Expr::sub(self.sp().into(), expr_const(4, 32))?),
            Mode::Amd64 => block.assign(self.sp(), Expr::sub(self.sp().into(), expr_const(8, 64))?),
        };

        block.store(self.sp().into(), value);
        Ok(())
    }
/// Convenience function to push a value onto the stack
Convenience function to push a value onto the stack
Convenience function to push a value onto the stack
pub fn push_value(&self, block: &mut Block, value: Expression) -> Result<()> {
        match self {
            Mode::X86 => block.assign(self.sp(), Expr::sub(self.sp().into(), expr_const(4, 32))?),
            Mode::Amd64 => block.assign(self.sp(), Expr::sub(self.sp().into(), expr_const(8, 64))?),
        };
        block.store(self.sp().into(), value);
        Ok(())
    }
pub fn push_value ( & self , block : & mut Block , value : Expression ) -> Result < ( ) > { match self { Mode :: X86 => block . assign ( self . sp ( ) , Expr :: sub ( self . sp ( ) . into ( ) , expr_const ( 4 , 32 ) ) ? ) , Mode :: Amd64 => block . assign ( self . sp ( ) , Expr :: sub ( self . sp ( ) . into ( ) , expr_const ( 8 , 64 ) ) ? ) , } ; block . store ( self . sp ( ) . into ( ) , value ) ; Ok ( ( ) ) }
Convenience function to push a value onto the stack
Convenience function to push a value onto the stack
&self
block
&mut Block
value
Expression
&self
block
&mut Block
value
Expression