mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-12 14:31:39 +00:00
Cleaning
This commit is contained in:
@ -3,8 +3,7 @@ use parking_lot::RwLock;
|
||||
use elements::{TableType, ResizableLimits};
|
||||
use interpreter::Error;
|
||||
use interpreter::module::check_limits;
|
||||
use interpreter::variable::{VariableInstance, VariableType};
|
||||
use interpreter::value::RuntimeValue;
|
||||
use interpreter::variable::VariableType;
|
||||
use interpreter::store::FuncId;
|
||||
|
||||
/// Table instance.
|
||||
@ -16,11 +15,6 @@ pub struct TableInstance {
|
||||
|
||||
}
|
||||
|
||||
/// Table element. Cloneable wrapper around VariableInstance.
|
||||
struct TableElement {
|
||||
pub var: VariableInstance,
|
||||
}
|
||||
|
||||
impl TableInstance {
|
||||
/// New instance of the table
|
||||
pub fn new(table_type: &TableType) -> Result<Self, Error> {
|
||||
|
Reference in New Issue
Block a user