zingen/masm/
embed.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Embedded Function implementations

use crate::{MacroAssembler, Result};

impl MacroAssembler {
    /// Function `sstore` from EVM which is not available in WASM.
    pub fn _sstore(&mut self) -> Result<()> {
        self.asm._sstore()
    }

    /// Function `sload` from EVM which is not available in WASM.
    pub fn _sload(&mut self) -> Result<()> {
        self.asm._sload()
    }
}