oxc/crates/oxc_semantic/tests/integration/snapshots/do_while_break.snap

95 lines
1.7 KiB
Text

---
source: crates/oxc_semantic/tests/integration/cfg.rs
expression: snapshot
input_file: crates/oxc_semantic/tests/integration/cfg_fixtures/do_while_break.js
---
bb0: {
}
bb1: {
statement
}
bb2: {
}
bb3: {
statement
}
bb4: {
}
bb5: {
statement
}
bb6: {
statement
}
bb7: {
statement
break
}
bb8: {
unreachable
}
bb9: {
condition
}
bb10: {
}
bb11: {
}
bb12: {
}
digraph {
0 [ label = "" ]
1 [ label = "VariableDeclaration" ]
2 [ label = "" ]
3 [ label = "TryStatement" ]
4 [ label = "" ]
5 [ label = "BlockStatement" ]
6 [ label = "DoWhileStatement" ]
7 [ label = "BlockStatement\nbreak" ]
8 [ label = "unreachable" ]
9 [ label = "Condition(true)" ]
10 [ label = "" ]
11 [ label = "" ]
12 [ label = "" ]
1 -> 0 [ label = "Error(Implicit)" ]
3 -> 2 [ label = "Error(Implicit)" ]
1 -> 3 [ label = "NewFunction" ]
5 -> 2 [ label = "Error(Implicit)" ]
5 -> 4 [ label = "Finalize" ]
6 -> 2 [ label = "Error(Implicit)" ]
4 -> 6 [ label = "Normal" ]
7 -> 2 [ label = "Error(Implicit)" ]
8 -> 2 [ label = "Error(Implicit)" , style = "dotted" ]
7 -> 8 [ label = "Unreachable" , style = "dotted" ]
9 -> 2 [ label = "Error(Implicit)" , style = "dotted" ]
10 -> 2 [ label = "Error(Implicit)" ]
6 -> 7 [ label = "Normal" ]
8 -> 9 [ label = "Normal" , style = "dotted" ]
9 -> 10 [ label = "Normal" , style = "dotted" ]
9 -> 7 [ label = "Backedge" , style = "dotted" ]
7 -> 10 [ label = "Jump" ]
11 -> 2 [ label = "Error(Implicit)" ]
3 -> 5 [ label = "Normal" ]
10 -> 11 [ label = "Join" ]
12 -> 0 [ label = "Error(Implicit)" ]
1 -> 12 [ label = "Normal" ]
}