Update parity-wasm

Bring in some support for bulk-memory-operations instructions
This commit is contained in:
Alex Crichton
2018-10-16 13:53:17 -07:00
parent 995aefa87e
commit a4a2ec605d
7 changed files with 27 additions and 15 deletions

View File

@ -248,7 +248,10 @@ impl Interpreter {
.iter()
.enumerate()
.filter_map(|(i, entry)| {
let code = entry.offset().code();
let code = match entry.offset() {
Some(offset) => offset.code(),
None => return None,
};
if code.len() != 2 {
return None;
}