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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
---
source: crates/rascal/src/tests.rs
expression: result
input_file: samples/as2/try_catch_finally_break_continue.as
---
initializer:
actions:
- ConstantPool:
- i
- loop i=
- " try:i="
- boom@2
- boom@4
- " catch:"
- e
- " finally:i="
- " after try/catch/finally i="
- done
- Push:
- Constant: 0
- Integer: 0
- DefineLocal
- Push:
- Constant: 0
- GetVariable
- Push:
- Integer: 6
- Less2
- Not
- If: loc0000
- Push:
- Constant: 1
- Constant: 0
- GetVariable
- Add2
- Trace
- Try:
try_body:
actions:
- Push:
- Constant: 2
- Constant: 0
- GetVariable
- Add2
- Trace
- Push:
- Constant: 0
- GetVariable
- Push:
- Integer: 1
- Equals2
- Not
- If: loc0004
- Jump: loc0001
- Push:
- Constant: 0
- GetVariable
- Push:
- Integer: 2
- Equals2
- Not
- If: loc0005
- Push:
- Constant: 3
- Throw
- Push:
- Constant: 0
- GetVariable
- Push:
- Integer: 4
- Equals2
- Not
- If: loc0006
- Push:
- Constant: 4
- Throw
- Jump: loc0003
label_positions:
loc0004: 11
loc0005: 19
loc0006: 27
catch_body:
- Variable: e
- actions:
- Push:
- Constant: 5
- Constant: 6
- GetVariable
- Add2
- Trace
- Push:
- Constant: 6
- GetVariable
- Push:
- Constant: 3
- Equals2
- Not
- If: loc0007
- Jump: loc0000
- Push:
- Constant: 6
- GetVariable
- Push:
- Constant: 4
- Equals2
- Not
- If: loc0008
- Jump: loc0001
label_positions:
loc0007: 11
loc0008: 18
finally_body:
actions:
- Push:
- Constant: 7
- Constant: 0
- GetVariable
- Add2
- Trace
- Push:
- Constant: 0
- GetVariable
- Push:
- Integer: 3
- Equals2
- Not
- If: loc0009
- Jump: loc0001
- Push:
- Constant: 0
- GetVariable
- Push:
- Integer: 5
- Equals2
- Not
- If: loc000a
- Jump: loc0000
label_positions:
loc0003: 0
loc0009: 11
loc000a: 18
- Push:
- Constant: 8
- Constant: 0
- GetVariable
- Add2
- Trace
- Push:
- Constant: 0
- Constant: 0
- GetVariable
- Increment
- SetVariable
- Jump: loc0002
- Push:
- Constant: 9
- Trace
label_positions:
loc0002: 3
loc0001: 18
loc0000: 23
extra_modules: []
compile_options:
swf_version: 15
optimizations:
fold_constants: true
promote_variables_to_registers: true
custom_pcodes: []