Skip to content

Commit

Permalink
Update expected SSA
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Jan 17, 2025
1 parent bddb7de commit 4e3ea96
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions compiler/noirc_evaluator/src/ssa/opt/defunctionalize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,17 +434,17 @@ mod tests {
}
brillig(inline) fn apply f4 {
b0(v0: Field, v1: u32):
v5 = eq v0, Field 2
jmpif v5 then: b3, else: b1
v4 = eq v0, Field 2
jmpif v4 then: b2, else: b1
b1():
constrain v0 == Field 3
v8 = call f3(v1) -> u32
jmp b4(v8)
b3():
v10 = call f2(v1) -> u32
jmp b4(v10)
b4(v3: u32):
return v3
v7 = call f3(v1) -> u32
jmp b3(v7)
b2():
v9 = call f2(v1) -> u32
jmp b3(v9)
b3(v2: u32):
return v2
}
";
assert_normalized_ssa_equals(ssa, expected);
Expand Down

0 comments on commit 4e3ea96

Please sign in to comment.