We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac46bd7 commit 1f62277Copy full SHA for 1f62277
1 file changed
src/spv/lift.rs
@@ -595,10 +595,10 @@ impl<'a> FuncLifting<'a> {
595
match continue_cond {
596
Value::DataInstOutput(_) => None,
597
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
+ Value::NodeOutput { node, output_idx } => {
+ let node_def = func_def_body.at(node).def();
+ let NodeKind::Select { kind: SelectionKind::BoolCond, scrutinee, cases } =
+ &node_def.kind
602
else {
603
return None;
604
};
0 commit comments