fuzzbug fix

This commit is contained in:
Chris Fallin 2021-12-12 19:44:23 -08:00
parent 83c4777895
commit 925c57be9e
2 changed files with 1 additions and 3 deletions

View file

@ -211,5 +211,3 @@ impl Shape {
Shape::None
}
}

View file

@ -917,7 +917,7 @@ impl<'a, 'b> FunctionBodyBuilder<'a, 'b> {
results,
} = self.ctrl_stack.pop().unwrap()
{
let if_results = self.pop_n(results.len());
let if_results = self.block_results(results.len(), start_depth);
self.emit_branch(out, &if_results[..]);
self.op_stack.truncate(start_depth);
self.op_stack.extend(param_values);