mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 10:22:19 +00:00
chore(interface-types) Simplify code.
This commit is contained in:
parent
f46099c67b
commit
b78a6f47ab
@ -166,10 +166,7 @@ where
|
|||||||
};
|
};
|
||||||
|
|
||||||
for executable_instruction in self.iter() {
|
for executable_instruction in self.iter() {
|
||||||
match executable_instruction(&mut runtime) {
|
executable_instruction(&mut runtime)?;
|
||||||
Ok(_) => continue,
|
|
||||||
Err(error) => return Err(error),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(runtime.stack)
|
Ok(runtime.stack)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user