diff --git a/src/front/spv/mod.rs b/src/front/spv/mod.rs index 5f4a7817e1..9644099895 100644 --- a/src/front/spv/mod.rs +++ b/src/front/spv/mod.rs @@ -2832,6 +2832,11 @@ impl> Parser { reject, }); + // Consume branch weights + for _ in 4..inst.wc { + let _ = self.next()?; + } + return Ok(()); } Op::Switch => {