Home
last modified time | relevance | path

Searched refs:StepError (Results 1 – 2 of 2) sorted by relevance

/wasmtime-44.0.1/cranelift/interpreter/src/
H A Dstep.rs62 pub fn step<'a, I>(state: &mut dyn State<'a>, inst_context: I) -> Result<ControlFlow<'a>, StepError> in step()
91 let args_range = |indexes: RangeFrom<usize>| -> Result<SmallVec<[DataValue; 1]>, StepError> { in step()
278 let branch_when = |condition: bool, block| -> Result<ControlFlow, StepError> { in step()
303 -> Result<ControlFlow<'a>, StepError> { in step()
404 .ok_or(StepError::UnknownFunction(func_ref))?; in step()
412 .ok_or(StepError::UnknownFunction(func_ref))?; in step()
430 let addr = Address::try_from(addr_dv.clone()).map_err(StepError::MemoryError)?; in step()
434 .ok_or_else(|| StepError::MemoryError(MemoryError::InvalidAddress(addr_dv)))?; in step()
458 .ok_or(StepError::UnknownFunction(func_ref))?; in step()
1370 pub enum StepError { enum
H A Dinterpreter.rs10 use crate::step::{ControlFlow, CraneliftTrap, StepError, step};
181 StepError(#[from] StepError), enumerator