psuh
This commit is contained in:
37
tests/sprint4/expected/sp4_cg_calls.ir.exp
Normal file
37
tests/sprint4/expected/sp4_cg_calls.ir.exp
Normal file
@ -0,0 +1,37 @@
|
||||
1: func_dec : entry
|
||||
2: func_dec : bar
|
||||
3: func_dec : ahh
|
||||
4: func : ahh
|
||||
5: param a
|
||||
6: call : printInteger 1
|
||||
7: Label : 1
|
||||
8: a = $t0
|
||||
9: $t1 = 1
|
||||
10: $t2 = -$t1
|
||||
11: return : $t2
|
||||
12: func : bar
|
||||
13: param g
|
||||
14: call : printInteger 1
|
||||
15: Label : 2
|
||||
16: a = $t3
|
||||
17: return : b
|
||||
18: func : entry
|
||||
19: $t4 = 1
|
||||
20: $t5 = 2
|
||||
21: $t6 = 3
|
||||
22: $t7 = 4
|
||||
23: $t8 = 5
|
||||
24: $t9 = 6
|
||||
25: $t10 = 7
|
||||
26: param $t10
|
||||
27: param $t9
|
||||
28: param $t8
|
||||
29: param $t7
|
||||
30: param $t6
|
||||
31: param $t5
|
||||
32: param $t4
|
||||
33: call : bar 7
|
||||
34: Label : 3
|
||||
35: result = $t11
|
||||
36: $t12 = 1
|
||||
37: return : $t12
|
Reference in New Issue
Block a user