roc/compiler/test_mono/generated/peano2.txt
2021-06-20 20:50:25 +02:00

31 lines
826 B
Plaintext

procedure Test.0 ():
let Test.19 = 0i64;
let Test.21 = 0i64;
let Test.23 = 0i64;
let Test.24 = 1i64;
let Test.22 = Z Test.24;
let Test.20 = S Test.23 Test.22;
let Test.18 = S Test.21 Test.20;
let Test.2 = S Test.19 Test.18;
let Test.15 = 0i64;
let Test.16 = GetTagId Test.2;
let Test.17 = lowlevel Eq Test.15 Test.16;
if Test.17 then
let Test.11 = Index 1 Test.2;
inc Test.11;
dec Test.2;
let Test.12 = 0i64;
let Test.13 = GetTagId Test.11;
dec Test.11;
let Test.14 = lowlevel Eq Test.12 Test.13;
if Test.14 then
let Test.7 = 1i64;
ret Test.7;
else
let Test.9 = 0i64;
ret Test.9;
else
dec Test.2;
let Test.10 = 0i64;
ret Test.10;