This commit is contained in:
Sergey Pepyakin
2017-12-11 18:52:07 +01:00
parent ebbfa6acf6
commit 8d3b32f4a6
6 changed files with 3 additions and 51 deletions

View File

@ -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> {