Skip to content

Commit 1f62277

Browse files
author
niklas
committed
spv/lift: adapt NodeOutput matching after main rebase
1 parent ac46bd7 commit 1f62277

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/spv/lift.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,10 +595,10 @@ impl<'a> FuncLifting<'a> {
595595
match continue_cond {
596596
Value::DataInstOutput(_) => None,
597597

598-
Value::ControlNodeOutput { control_node, output_idx } => {
599-
let control_node_def = func_def_body.at(control_node).def();
600-
let ControlNodeKind::Select { kind: SelectionKind::BoolCond, scrutinee, cases } =
601-
&control_node_def.kind
598+
Value::NodeOutput { node, output_idx } => {
599+
let node_def = func_def_body.at(node).def();
600+
let NodeKind::Select { kind: SelectionKind::BoolCond, scrutinee, cases } =
601+
&node_def.kind
602602
else {
603603
return None;
604604
};

0 commit comments

Comments
 (0)