mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-27 05:32:07 +00:00
indirect function calls
This commit is contained in:
@ -63,6 +63,16 @@ impl VariableInstance {
|
||||
}
|
||||
}
|
||||
|
||||
impl Clone for VariableInstance {
|
||||
fn clone(&self) -> Self {
|
||||
VariableInstance {
|
||||
is_mutable: self.is_mutable,
|
||||
variable_type: self.variable_type,
|
||||
value: RwLock::new(self.value.read().clone()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl From<ValueType> for VariableType {
|
||||
fn from(vt: ValueType) -> VariableType {
|
||||
match vt {
|
||||
|
Reference in New Issue
Block a user