spv-in: Allow branch weights in OpBranchConditional

This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-12-16 10:58:27 -05:00
1 parent 9c75f3cdce
commit cf0c31cc85
1 file changed
+5
+5
View File
@@ -2832,6 +2832,11 @@ impl<I: Iterator<Item = u32>> Parser<I> {
reject,
});
// Consume branch weights
for _ in 4..inst.wc {
let _ = self.next()?;
}
return Ok(());
}
Op::Switch => {