-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfuncA.abs
More file actions
103 lines (103 loc) · 1.97 KB
/
funcA.abs
File metadata and controls
103 lines (103 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
FunDec: foo
Type: int
Params:
VarDec: a, type: int
VarDec: b, type: int
VarDec: c, type: int
Body:
Local Defs:
VarDec: d, type: int
VarDec: e, type: int
VarDec: f, type: int
Statements:
RetExp:
BinOp: +
BinOp: +
VarExp: a
VarExp: b
VarExp: c
FunDec: main
Type: void
Params:
Body:
Local Defs:
VarDec: a, type: int
VarDec: b, type: int
VarDec: c, type: int
Statements:
AssignExp:
VarExp: c
IntVal: 100
AssignExp:
VarExp: b
AssignExp:
VarExp: a
IntVal: 9000
AssignExp:
VarExp: a
VarExp: c
FunCall: output
IntVal: 1010101
FunCall: output
VarExp: a
FunCall: output
VarExp: b
FunCall: output
VarExp: c
AssignExp:
VarExp: b
BinOp: +
VarExp: b
IntVal: 1
FunCall: output
VarExp: b
AssignExp:
VarExp: b
BinOp: -
VarExp: b
IntVal: 1
FunCall: output
VarExp: b
AssignExp:
VarExp: b
BinOp: /
VarExp: b
VarExp: c
FunCall: output
VarExp: b
AssignExp:
VarExp: b
BinOp: *
VarExp: b
VarExp: b
FunCall: output
VarExp: b
AssignExp:
VarExp: a
IntVal: 1
AssignExp:
VarExp: b
IntVal: 2
AssignExp:
VarExp: c
IntVal: 3
FunCall: output
FunCall: foo
VarExp: a
VarExp: b
VarExp: c
AssignExp:
VarExp: a
IntVal: 20
AssignExp:
VarExp: b
IntVal: 3
AssignExp:
VarExp: c
BinOp: +
VarExp: a
BinOp: *
VarExp: b
IntVal: 2
FunCall: output
VarExp: c