Update parity-wasm dependency

This commit is contained in:
Alex Crichton
2018-06-01 07:47:47 -07:00
parent ba4697bfb1
commit a4428f01b6
2 changed files with 3 additions and 3 deletions

View File

@ -320,11 +320,11 @@ impl Output {
if offset.len() != 2 {
bail!("don't recognize data offset {:?}", offset)
}
if offset[1] != Opcode::End {
if offset[1] != Instruction::End {
bail!("don't recognize data offset {:?}", offset)
}
let offset = match offset[0] {
Opcode::I32Const(x) => x,
Instruction::I32Const(x) => x,
_ => bail!("don't recognize data offset {:?}", offset),
};