mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-05-29 15:41:36 +00:00
Fixes
This commit is contained in:
parent
93b61bc2dc
commit
9c442f6be1
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
use std::any::TypeId;
|
use std::any::TypeId;
|
||||||
use validation;
|
use validation;
|
||||||
|
use common;
|
||||||
|
|
||||||
/// Custom user error.
|
/// Custom user error.
|
||||||
pub trait UserError: 'static + ::std::fmt::Display + ::std::fmt::Debug {
|
pub trait UserError: 'static + ::std::fmt::Display + ::std::fmt::Debug {
|
||||||
@ -123,8 +124,8 @@ impl From<validation::Error> for Error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<::common::stack::Error> for Error {
|
impl From<common::stack::Error> for Error {
|
||||||
fn from(e: ::common::stack::Error) -> Self {
|
fn from(e: common::stack::Error) -> Self {
|
||||||
Error::Stack(e.to_string())
|
Error::Stack(e.to_string())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ use interpreter::value::{
|
|||||||
};
|
};
|
||||||
use interpreter::variable::VariableInstance;
|
use interpreter::variable::VariableInstance;
|
||||||
use common::{DEFAULT_MEMORY_INDEX, DEFAULT_TABLE_INDEX, BlockFrame, BlockFrameType};
|
use common::{DEFAULT_MEMORY_INDEX, DEFAULT_TABLE_INDEX, BlockFrame, BlockFrameType};
|
||||||
use common::stack::{StackWithLimit};
|
use common::stack::StackWithLimit;
|
||||||
|
|
||||||
/// Function interpreter.
|
/// Function interpreter.
|
||||||
pub struct Interpreter;
|
pub struct Interpreter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user