Update to most recent parity-wasm (#21)
* Update to most recent parity-wasm * fix validation
This commit is contained in:
parent
c1f05c822b
commit
aa4c8fe3bb
|
@ -9,7 +9,7 @@ keywords = ["wasm", "webassembly", "bytecode", "interpreter"]
|
|||
exclude = [ "res/*", "spec/*" ]
|
||||
|
||||
[dependencies]
|
||||
parity-wasm = "0.20"
|
||||
parity-wasm = "0.23"
|
||||
byteorder = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -500,7 +500,7 @@ impl Validator {
|
|||
Ok(InstructionOutcome::ValidateNextInstruction)
|
||||
}
|
||||
|
||||
fn validate_br_table(context: &mut FunctionValidationContext, table: &Vec<u32>, default: u32) -> Result<InstructionOutcome, Error> {
|
||||
fn validate_br_table(context: &mut FunctionValidationContext, table: &[u32], default: u32) -> Result<InstructionOutcome, Error> {
|
||||
let mut required_block_type = None;
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue