tests update

This commit is contained in:
Scarlett
2025-05-06 22:35:26 -04:00
parent 6e34758ac9
commit 5a01cb8419
49 changed files with 442 additions and 291 deletions

View File

@ -1,17 +1,16 @@
1: func_dec : entry
2: func : entry
3: $t0 = 1
4: Label : 1
5: x = $t0
6: $t1 = 2
7: Label : 2
8: y = $t1
9: $t2 = x == y
10: Label : 3
4: x = $t0
5: $t1 = 2
6: y = $t1
7: $t2 = x == y
8: if $t2 True GOTO 1
9: GOTO : 1
10: Label : 1
11: b = $t2
12: param b
13: call : printBoolean 1
14: Label : 4
15: result = $t3
16: $t4 = 1
17: return : $t4
14: result = $t3
15: $t4 = 1
16: return : $t4