roc/compiler/test_mono/generated/guard_pattern_true.txt
ayazhafiz e655ab7d3b Module comments for reset-reuse
Figuring out what this module was doing, and why, took me a bit less
than half an hour. We should document what's happening for others in the
future so they don't need to follow up on Zulip necessarily.
2022-01-13 16:33:23 -05:00

25 lines
744 B
Text

procedure Test.1 (Test.3):
let Test.6 : Builtin(Int(I64)) = 2i64;
joinpoint Test.11:
let Test.10 : Builtin(Int(I64)) = 0i64;
ret Test.10;
in
let Test.13 : Builtin(Int(I64)) = 2i64;
let Test.14 : Builtin(Bool) = lowlevel Eq Test.13 Test.6;
if Test.14 then
joinpoint Test.8 Test.12:
if Test.12 then
let Test.7 : Builtin(Int(I64)) = 42i64;
ret Test.7;
else
jump Test.11;
in
let Test.9 : Builtin(Bool) = false;
jump Test.8 Test.9;
else
jump Test.11;
procedure Test.0 ():
let Test.5 : Struct([]) = Struct {};
let Test.4 : Builtin(Int(I64)) = CallByName Test.1 Test.5;
ret Test.4;