neo-devpack-solidity 0.22.0

Production-focused Solidity-to-NeoVM compilation system
Documentation
use super::*;

impl VMBridge {
    pub(crate) fn handle_ret(
        _bridge: &mut VMBridge,
        _context: &mut execution::ExecutionContext,
        _state: &mut state::StateManager,
        _storage: &mut storage::StorageManager,
        _gas: &mut execution::GasTracker,
    ) -> Result<(), VMBridgeError> {
        // RET instruction - handled by execution context
        Ok(())
    }

    pub(crate) fn handle_jmp(
        _bridge: &mut VMBridge,
        _context: &mut execution::ExecutionContext,
        _state: &mut state::StateManager,
        _storage: &mut storage::StorageManager,
        _gas: &mut execution::GasTracker,
    ) -> Result<(), VMBridgeError> {
        // JMP instruction - would need address from bytecode
        Ok(())
    }

    pub(crate) fn handle_jmpif(
        _bridge: &mut VMBridge,
        _context: &mut execution::ExecutionContext,
        _state: &mut state::StateManager,
        _storage: &mut storage::StorageManager,
        _gas: &mut execution::GasTracker,
    ) -> Result<(), VMBridgeError> {
        // JMPIF instruction - conditional jump
        Ok(())
    }

    pub(crate) fn handle_jmpifnot(
        _bridge: &mut VMBridge,
        _context: &mut execution::ExecutionContext,
        _state: &mut state::StateManager,
        _storage: &mut storage::StorageManager,
        _gas: &mut execution::GasTracker,
    ) -> Result<(), VMBridgeError> {
        // JMPIFNOT instruction - conditional jump
        Ok(())
    }
}