Update to wasmparser 0.22.

This commit is contained in:
Dan Gohman
2018-11-26 22:08:15 -08:00
parent f0695a79d1
commit 09e5b33916
3 changed files with 4 additions and 4 deletions

View File

@@ -253,7 +253,7 @@ pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
}
Operator::BrIf { relative_depth } => translate_br_if(relative_depth, builder, state),
Operator::BrTable { table } => {
let (depths, default) = table.read_table();
let (depths, default) = table.read_table()?;
let mut min_depth = default;
for depth in &*depths {
if *depth < min_depth {