OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: no | 6 wrap: no |
7 test function name: f | 7 test function name: f |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
11 function* f() { } | 11 function* f() { } |
12 f(); | 12 f(); |
13 " | 13 " |
14 frame size: 11 | 14 frame size: 11 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 212 | 16 bytecode array length: 202 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(Ldar), R(new_target), | 18 B(Ldar), R(new_target), |
19 B(JumpIfUndefined), U8(21), | 19 B(JumpIfUndefined), U8(21), |
20 B(ResumeGenerator), R(new_target), | 20 B(ResumeGenerator), R(new_target), |
21 B(Star), R(1), | 21 B(Star), R(1), |
22 B(LdaZero), | 22 B(LdaZero), |
23 B(TestEqualStrict), R(1), U8(0), | 23 B(TestEqualStrict), R(1), U8(0), |
24 B(JumpIfTrue), U8(61), | 24 B(JumpIfTrue), U8(53), |
25 B(LdaSmi), U8(76), | 25 B(LdaSmi), U8(76), |
26 B(Star), R(2), | 26 B(Star), R(2), |
27 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 27 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
28 B(LdaSmi), U8(-2), | 28 B(LdaSmi), U8(-2), |
29 B(Star), R(1), | 29 B(Star), R(1), |
30 B(CreateFunctionContext), U8(2), | 30 B(CreateFunctionContext), U8(2), |
31 B(PushContext), R(0), | 31 B(PushContext), R(0), |
32 B(Ldar), R(this), | 32 B(Ldar), R(this), |
33 B(StaContextSlot), R(context), U8(4), U8(0), | 33 B(StaCurrentContextSlot), U8(4), |
34 /* 11 E> */ B(StackCheck), | 34 /* 11 E> */ B(StackCheck), |
35 B(Mov), R(context), R(4), | 35 B(Mov), R(context), R(4), |
36 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), U8(0), R(6), | 36 /* 11 E> */ B(LdrCurrentContextSlot), U8(4), R(6), |
37 B(Ldar), R(6), | 37 B(Ldar), R(6), |
38 B(Mov), R(closure), R(5), | 38 B(Mov), R(closure), R(5), |
39 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8
(2), | 39 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8
(2), |
40 B(StaContextSlot), R(context), U8(5), U8(0), | 40 B(StaCurrentContextSlot), U8(5), |
41 B(Star), R(5), | 41 B(Star), R(5), |
42 B(LdrContextSlot), R(context), U8(5), U8(0), R(6), | 42 B(LdrCurrentContextSlot), U8(5), R(6), |
43 B(LdaZero), | 43 B(LdaZero), |
44 B(SuspendGenerator), R(6), | 44 B(SuspendGenerator), R(6), |
45 B(Ldar), R(5), | 45 B(Ldar), R(5), |
46 /* 16 S> */ B(Return), | 46 /* 16 S> */ B(Return), |
47 B(LdaSmi), U8(-2), | 47 B(LdaSmi), U8(-2), |
48 B(Star), R(1), | 48 B(Star), R(1), |
49 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6
), U8(1), | 49 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6
), U8(1), |
50 B(Star), R(7), | 50 B(Star), R(7), |
51 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8
(1), | 51 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8
(1), |
52 B(Star), R(8), | 52 B(Star), R(8), |
(...skipping 23 matching lines...) Expand all Loading... |
76 B(Star), R(2), | 76 B(Star), R(2), |
77 B(Jump), U8(14), | 77 B(Jump), U8(14), |
78 B(LdaSmi), U8(-1), | 78 B(LdaSmi), U8(-1), |
79 B(Star), R(2), | 79 B(Star), R(2), |
80 B(Jump), U8(8), | 80 B(Jump), U8(8), |
81 B(Star), R(3), | 81 B(Star), R(3), |
82 B(LdaSmi), U8(2), | 82 B(LdaSmi), U8(2), |
83 B(Star), R(2), | 83 B(Star), R(2), |
84 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 84 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
85 B(Star), R(4), | 85 B(Star), R(4), |
86 B(LdrContextSlot), R(context), U8(5), U8(0), R(5), | 86 B(LdrCurrentContextSlot), U8(5), R(5), |
87 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), | 87 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), |
88 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4
), U8(1), | 88 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4
), U8(1), |
89 B(LdaZero), | 89 B(LdaZero), |
90 B(TestEqualStrict), R(2), U8(0), | 90 B(TestEqualStrict), R(2), U8(0), |
91 B(JumpIfTrue), U8(18), | 91 B(JumpIfTrue), U8(18), |
92 B(LdaSmi), U8(1), | 92 B(LdaSmi), U8(1), |
93 B(TestEqualStrict), R(2), U8(0), | 93 B(TestEqualStrict), R(2), U8(0), |
94 B(JumpIfTrue), U8(14), | 94 B(JumpIfTrue), U8(14), |
95 B(LdaSmi), U8(2), | 95 B(LdaSmi), U8(2), |
96 B(TestEqualStrict), R(2), U8(0), | 96 B(TestEqualStrict), R(2), U8(0), |
97 B(JumpIfTrue), U8(10), | 97 B(JumpIfTrue), U8(10), |
98 B(Jump), U8(11), | 98 B(Jump), U8(11), |
99 B(Ldar), R(3), | 99 B(Ldar), R(3), |
100 /* 16 S> */ B(Return), | 100 /* 16 S> */ B(Return), |
101 B(Ldar), R(3), | 101 B(Ldar), R(3), |
102 /* 16 S> */ B(Return), | 102 /* 16 S> */ B(Return), |
103 B(Ldar), R(3), | 103 B(Ldar), R(3), |
104 B(ReThrow), | 104 B(ReThrow), |
105 B(LdaUndefined), | 105 B(LdaUndefined), |
106 /* 16 S> */ B(Return), | 106 /* 16 S> */ B(Return), |
107 ] | 107 ] |
108 constant pool: [ | 108 constant pool: [ |
109 ] | 109 ] |
110 handlers: [ | 110 handlers: [ |
111 [41, 145, 151], | 111 [39, 137, 143], |
112 ] | 112 ] |
113 | 113 |
114 --- | 114 --- |
115 snippet: " | 115 snippet: " |
116 function* f() { yield 42 } | 116 function* f() { yield 42 } |
117 f(); | 117 f(); |
118 " | 118 " |
119 frame size: 11 | 119 frame size: 11 |
120 parameter count: 1 | 120 parameter count: 1 |
121 bytecode array length: 310 | 121 bytecode array length: 298 |
122 bytecodes: [ | 122 bytecodes: [ |
123 B(Ldar), R(new_target), | 123 B(Ldar), R(new_target), |
124 B(JumpIfUndefined), U8(28), | 124 B(JumpIfUndefined), U8(28), |
125 B(ResumeGenerator), R(new_target), | 125 B(ResumeGenerator), R(new_target), |
126 B(Star), R(1), | 126 B(Star), R(1), |
127 B(LdaZero), | 127 B(LdaZero), |
128 B(TestEqualStrict), R(1), U8(0), | 128 B(TestEqualStrict), R(1), U8(0), |
129 B(JumpIfTrue), U8(68), | 129 B(JumpIfTrue), U8(60), |
130 B(LdaSmi), U8(1), | 130 B(LdaSmi), U8(1), |
131 B(TestEqualStrict), R(1), U8(0), | 131 B(TestEqualStrict), R(1), U8(0), |
132 B(JumpIfTrueConstant), U8(0), | 132 B(JumpIfTrueConstant), U8(0), |
133 B(LdaSmi), U8(76), | 133 B(LdaSmi), U8(76), |
134 B(Star), R(2), | 134 B(Star), R(2), |
135 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 135 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
136 B(LdaSmi), U8(-2), | 136 B(LdaSmi), U8(-2), |
137 B(Star), R(1), | 137 B(Star), R(1), |
138 B(CreateFunctionContext), U8(2), | 138 B(CreateFunctionContext), U8(2), |
139 B(PushContext), R(0), | 139 B(PushContext), R(0), |
140 B(Ldar), R(this), | 140 B(Ldar), R(this), |
141 B(StaContextSlot), R(context), U8(4), U8(0), | 141 B(StaCurrentContextSlot), U8(4), |
142 /* 11 E> */ B(StackCheck), | 142 /* 11 E> */ B(StackCheck), |
143 B(Mov), R(context), R(4), | 143 B(Mov), R(context), R(4), |
144 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), U8(0), R(6), | 144 /* 11 E> */ B(LdrCurrentContextSlot), U8(4), R(6), |
145 B(Ldar), R(6), | 145 B(Ldar), R(6), |
146 B(Mov), R(closure), R(5), | 146 B(Mov), R(closure), R(5), |
147 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8
(2), | 147 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8
(2), |
148 B(StaContextSlot), R(context), U8(5), U8(0), | 148 B(StaCurrentContextSlot), U8(5), |
149 B(Star), R(5), | 149 B(Star), R(5), |
150 B(LdrContextSlot), R(context), U8(5), U8(0), R(6), | 150 B(LdrCurrentContextSlot), U8(5), R(6), |
151 B(LdaZero), | 151 B(LdaZero), |
152 B(SuspendGenerator), R(6), | 152 B(SuspendGenerator), R(6), |
153 B(Ldar), R(5), | 153 B(Ldar), R(5), |
154 /* 25 S> */ B(Return), | 154 /* 25 S> */ B(Return), |
155 B(LdaSmi), U8(-2), | 155 B(LdaSmi), U8(-2), |
156 B(Star), R(1), | 156 B(Star), R(1), |
157 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6
), U8(1), | 157 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6
), U8(1), |
158 B(Star), R(7), | 158 B(Star), R(7), |
159 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8
(1), | 159 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8
(1), |
160 B(Star), R(8), | 160 B(Star), R(8), |
161 B(LdaZero), | 161 B(LdaZero), |
162 B(TestEqualStrict), R(8), U8(0), | 162 B(TestEqualStrict), R(8), U8(0), |
163 B(JumpIfTrue), U8(32), | 163 B(JumpIfTrue), U8(32), |
164 B(LdaSmi), U8(2), | 164 B(LdaSmi), U8(2), |
165 B(TestEqualStrict), R(8), U8(0), | 165 B(TestEqualStrict), R(8), U8(0), |
166 B(JumpIfTrue), U8(22), | 166 B(JumpIfTrue), U8(22), |
167 B(Jump), U8(2), | 167 B(Jump), U8(2), |
168 B(LdaTrue), | 168 B(LdaTrue), |
169 B(Star), R(10), | 169 B(Star), R(10), |
170 B(Mov), R(7), R(9), | 170 B(Mov), R(7), R(9), |
171 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8
(2), | 171 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8
(2), |
172 B(Star), R(3), | 172 B(Star), R(3), |
173 B(LdaZero), | 173 B(LdaZero), |
174 B(Star), R(2), | 174 B(Star), R(2), |
175 B(Jump), U8(116), | 175 B(Jump), U8(114), |
176 B(Ldar), R(7), | 176 B(Ldar), R(7), |
177 /* 11 E> */ B(Throw), | 177 /* 11 E> */ B(Throw), |
178 /* 16 S> */ B(LdaSmi), U8(42), | 178 /* 16 S> */ B(LdaSmi), U8(42), |
179 B(Star), R(5), | 179 B(Star), R(5), |
180 B(LdaFalse), | 180 B(LdaFalse), |
181 B(Star), R(6), | 181 B(Star), R(6), |
182 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8
(2), | 182 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8
(2), |
183 B(Star), R(5), | 183 B(Star), R(5), |
184 B(LdrContextSlot), R(context), U8(5), U8(0), R(6), | 184 B(LdrCurrentContextSlot), U8(5), R(6), |
185 B(LdaSmi), U8(1), | 185 B(LdaSmi), U8(1), |
186 B(SuspendGenerator), R(6), | 186 B(SuspendGenerator), R(6), |
187 B(Ldar), R(5), | 187 B(Ldar), R(5), |
188 /* 25 S> */ B(Return), | 188 /* 25 S> */ B(Return), |
189 B(LdaSmi), U8(-2), | 189 B(LdaSmi), U8(-2), |
190 B(Star), R(1), | 190 B(Star), R(1), |
191 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6
), U8(1), | 191 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6
), U8(1), |
192 B(Star), R(7), | 192 B(Star), R(7), |
193 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8
(1), | 193 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8
(1), |
194 B(Star), R(8), | 194 B(Star), R(8), |
(...skipping 23 matching lines...) Expand all Loading... |
218 B(Star), R(2), | 218 B(Star), R(2), |
219 B(Jump), U8(14), | 219 B(Jump), U8(14), |
220 B(LdaSmi), U8(-1), | 220 B(LdaSmi), U8(-1), |
221 B(Star), R(2), | 221 B(Star), R(2), |
222 B(Jump), U8(8), | 222 B(Jump), U8(8), |
223 B(Star), R(3), | 223 B(Star), R(3), |
224 B(LdaSmi), U8(3), | 224 B(LdaSmi), U8(3), |
225 B(Star), R(2), | 225 B(Star), R(2), |
226 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 226 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
227 B(Star), R(4), | 227 B(Star), R(4), |
228 B(LdrContextSlot), R(context), U8(5), U8(0), R(5), | 228 B(LdrCurrentContextSlot), U8(5), R(5), |
229 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), | 229 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), |
230 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4
), U8(1), | 230 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4
), U8(1), |
231 B(LdaZero), | 231 B(LdaZero), |
232 B(TestEqualStrict), R(2), U8(0), | 232 B(TestEqualStrict), R(2), U8(0), |
233 B(JumpIfTrue), U8(25), | 233 B(JumpIfTrue), U8(25), |
234 B(LdaSmi), U8(1), | 234 B(LdaSmi), U8(1), |
235 B(TestEqualStrict), R(2), U8(0), | 235 B(TestEqualStrict), R(2), U8(0), |
236 B(JumpIfTrue), U8(21), | 236 B(JumpIfTrue), U8(21), |
237 B(LdaSmi), U8(2), | 237 B(LdaSmi), U8(2), |
238 B(TestEqualStrict), R(2), U8(0), | 238 B(TestEqualStrict), R(2), U8(0), |
239 B(JumpIfTrue), U8(17), | 239 B(JumpIfTrue), U8(17), |
240 B(LdaSmi), U8(3), | 240 B(LdaSmi), U8(3), |
241 B(TestEqualStrict), R(2), U8(0), | 241 B(TestEqualStrict), R(2), U8(0), |
242 B(JumpIfTrue), U8(13), | 242 B(JumpIfTrue), U8(13), |
243 B(Jump), U8(14), | 243 B(Jump), U8(14), |
244 B(Ldar), R(3), | 244 B(Ldar), R(3), |
245 /* 25 S> */ B(Return), | 245 /* 25 S> */ B(Return), |
246 B(Ldar), R(3), | 246 B(Ldar), R(3), |
247 /* 25 S> */ B(Return), | 247 /* 25 S> */ B(Return), |
248 B(Ldar), R(3), | 248 B(Ldar), R(3), |
249 /* 25 S> */ B(Return), | 249 /* 25 S> */ B(Return), |
250 B(Ldar), R(3), | 250 B(Ldar), R(3), |
251 B(ReThrow), | 251 B(ReThrow), |
252 B(LdaUndefined), | 252 B(LdaUndefined), |
253 /* 25 S> */ B(Return), | 253 /* 25 S> */ B(Return), |
254 ] | 254 ] |
255 constant pool: [ | 255 constant pool: [ |
256 Smi [141], | 256 Smi [131], |
257 ] | 257 ] |
258 handlers: [ | 258 handlers: [ |
259 [48, 233, 239], | 259 [46, 223, 229], |
260 ] | 260 ] |
261 | 261 |
262 --- | 262 --- |
263 snippet: " | 263 snippet: " |
264 function* f() { for (let x of [42]) yield x } | 264 function* f() { for (let x of [42]) yield x } |
265 f(); | 265 f(); |
266 " | 266 " |
267 frame size: 18 | 267 frame size: 18 |
268 parameter count: 1 | 268 parameter count: 1 |
269 bytecode array length: 793 | 269 bytecode array length: 773 |
270 bytecodes: [ | 270 bytecodes: [ |
271 B(Ldar), R(new_target), | 271 B(Ldar), R(new_target), |
272 B(JumpIfUndefined), U8(28), | 272 B(JumpIfUndefined), U8(28), |
273 B(ResumeGenerator), R(new_target), | 273 B(ResumeGenerator), R(new_target), |
274 B(Star), R(4), | 274 B(Star), R(4), |
275 B(LdaZero), | 275 B(LdaZero), |
276 B(TestEqualStrict), R(4), U8(0), | 276 B(TestEqualStrict), R(4), U8(0), |
277 B(JumpIfTrue), U8(68), | 277 B(JumpIfTrue), U8(60), |
278 B(LdaSmi), U8(1), | 278 B(LdaSmi), U8(1), |
279 B(TestEqualStrict), R(4), U8(0), | 279 B(TestEqualStrict), R(4), U8(0), |
280 B(JumpIfTrueConstant), U8(3), | 280 B(JumpIfTrueConstant), U8(3), |
281 B(LdaSmi), U8(76), | 281 B(LdaSmi), U8(76), |
282 B(Star), R(5), | 282 B(Star), R(5), |
283 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 283 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
284 B(LdaSmi), U8(-2), | 284 B(LdaSmi), U8(-2), |
285 B(Star), R(4), | 285 B(Star), R(4), |
286 B(CreateFunctionContext), U8(9), | 286 B(CreateFunctionContext), U8(9), |
287 B(PushContext), R(0), | 287 B(PushContext), R(0), |
288 B(Ldar), R(this), | 288 B(Ldar), R(this), |
289 B(StaContextSlot), R(context), U8(4), U8(0), | 289 B(StaCurrentContextSlot), U8(4), |
290 /* 11 E> */ B(StackCheck), | 290 /* 11 E> */ B(StackCheck), |
291 B(Mov), R(context), R(7), | 291 B(Mov), R(context), R(7), |
292 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), U8(0), R(9), | 292 /* 11 E> */ B(LdrCurrentContextSlot), U8(4), R(9), |
293 B(Ldar), R(9), | 293 B(Ldar), R(9), |
294 B(Mov), R(closure), R(8), | 294 B(Mov), R(closure), R(8), |
295 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8
(2), | 295 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8
(2), |
296 B(StaContextSlot), R(context), U8(5), U8(0), | 296 B(StaCurrentContextSlot), U8(5), |
297 B(Star), R(8), | 297 B(Star), R(8), |
298 B(LdrContextSlot), R(context), U8(5), U8(0), R(9), | 298 B(LdrCurrentContextSlot), U8(5), R(9), |
299 B(LdaZero), | 299 B(LdaZero), |
300 B(SuspendGenerator), R(9), | 300 B(SuspendGenerator), R(9), |
301 B(Ldar), R(8), | 301 B(Ldar), R(8), |
302 /* 44 S> */ B(Return), | 302 /* 44 S> */ B(Return), |
303 B(LdaSmi), U8(-2), | 303 B(LdaSmi), U8(-2), |
304 B(Star), R(4), | 304 B(Star), R(4), |
305 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9
), U8(1), | 305 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9
), U8(1), |
306 B(Star), R(10), | 306 B(Star), R(10), |
307 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8
(1), | 307 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8
(1), |
308 B(Star), R(11), | 308 B(Star), R(11), |
309 B(LdaZero), | 309 B(LdaZero), |
310 B(TestEqualStrict), R(11), U8(0), | 310 B(TestEqualStrict), R(11), U8(0), |
311 B(JumpIfTrue), U8(32), | 311 B(JumpIfTrue), U8(32), |
312 B(LdaSmi), U8(2), | 312 B(LdaSmi), U8(2), |
313 B(TestEqualStrict), R(11), U8(0), | 313 B(TestEqualStrict), R(11), U8(0), |
314 B(JumpIfTrue), U8(22), | 314 B(JumpIfTrue), U8(22), |
315 B(Jump), U8(2), | 315 B(Jump), U8(2), |
316 B(LdaTrue), | 316 B(LdaTrue), |
317 B(Star), R(13), | 317 B(Star), R(13), |
318 B(Mov), R(10), R(12), | 318 B(Mov), R(10), R(12), |
319 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), | 319 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), |
320 B(Star), R(6), | 320 B(Star), R(6), |
321 B(LdaZero), | 321 B(LdaZero), |
322 B(Star), R(5), | 322 B(Star), R(5), |
323 B(JumpConstant), U8(18), | 323 B(JumpConstant), U8(19), |
324 B(Ldar), R(10), | 324 B(Ldar), R(10), |
325 /* 11 E> */ B(Throw), | 325 /* 11 E> */ B(Throw), |
326 B(Ldar), R(closure), | 326 B(Ldar), R(closure), |
327 B(CreateBlockContext), U8(0), | 327 B(CreateBlockContext), U8(0), |
328 B(PushContext), R(1), | 328 B(PushContext), R(1), |
329 B(LdaTheHole), | 329 B(LdaTheHole), |
330 B(StaContextSlot), R(context), U8(4), U8(0), | 330 B(StaCurrentContextSlot), U8(4), |
331 B(LdaZero), | 331 B(LdaZero), |
332 B(StaContextSlot), R(1), U8(9), U8(0), | 332 B(StaContextSlot), R(1), U8(9), U8(0), |
333 B(Mov), R(context), R(10), | 333 B(Mov), R(context), R(10), |
334 B(Mov), R(context), R(11), | 334 B(Mov), R(context), R(11), |
335 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(9), | 335 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(9), |
336 B(Star), R(13), | 336 B(Star), R(13), |
337 B(LdaConstant), U8(2), | 337 B(LdaConstant), U8(2), |
338 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), | 338 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), |
339 /* 30 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2), | 339 /* 30 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2), |
340 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 340 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), |
(...skipping 24 matching lines...) Expand all Loading... |
365 B(StaContextSlot), R(1), U8(10), U8(0), | 365 B(StaContextSlot), R(1), U8(10), U8(0), |
366 B(LdaSmi), U8(2), | 366 B(LdaSmi), U8(2), |
367 B(StaContextSlot), R(1), U8(9), U8(0), | 367 B(StaContextSlot), R(1), U8(9), U8(0), |
368 B(LdaContextSlot), R(1), U8(10), U8(0), | 368 B(LdaContextSlot), R(1), U8(10), U8(0), |
369 B(StaContextSlot), R(1), U8(6), U8(0), | 369 B(StaContextSlot), R(1), U8(6), U8(0), |
370 /* 16 E> */ B(StackCheck), | 370 /* 16 E> */ B(StackCheck), |
371 B(Ldar), R(closure), | 371 B(Ldar), R(closure), |
372 B(CreateBlockContext), U8(7), | 372 B(CreateBlockContext), U8(7), |
373 B(PushContext), R(2), | 373 B(PushContext), R(2), |
374 B(LdaTheHole), | 374 B(LdaTheHole), |
375 B(StaContextSlot), R(context), U8(4), U8(0), | 375 B(StaCurrentContextSlot), U8(4), |
376 B(LdaContextSlot), R(1), U8(6), U8(0), | 376 B(LdaContextSlot), R(1), U8(6), U8(0), |
377 B(StaContextSlot), R(context), U8(4), U8(0), | 377 B(StaCurrentContextSlot), U8(4), |
378 /* 36 S> */ B(LdrContextSlot), R(context), U8(4), U8(0), R(12), | 378 /* 36 S> */ B(LdrCurrentContextSlot), U8(4), R(12), |
379 B(LdaFalse), | 379 B(LdaFalse), |
380 B(Star), R(13), | 380 B(Star), R(13), |
381 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), | 381 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), |
382 B(Star), R(12), | 382 B(Star), R(12), |
383 B(LdrContextSlot), R(1), U8(5), U8(0), R(13), | 383 B(LdrContextSlot), R(1), U8(5), U8(0), R(13), |
384 B(LdaSmi), U8(1), | 384 B(LdaSmi), U8(1), |
385 B(SuspendGenerator), R(13), | 385 B(SuspendGenerator), R(13), |
386 B(Ldar), R(12), | 386 B(Ldar), R(12), |
387 /* 44 S> */ B(Return), | 387 /* 44 S> */ B(Return), |
388 B(LdaSmi), U8(-2), | 388 B(LdaSmi), U8(-2), |
(...skipping 15 matching lines...) Expand all Loading... |
404 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U
8(2), | 404 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U
8(2), |
405 B(PopContext), R(2), | 405 B(PopContext), R(2), |
406 B(PopContext), R(2), | 406 B(PopContext), R(2), |
407 B(PopContext), R(2), | 407 B(PopContext), R(2), |
408 B(PopContext), R(2), | 408 B(PopContext), R(2), |
409 B(PopContext), R(2), | 409 B(PopContext), R(2), |
410 B(PopContext), R(2), | 410 B(PopContext), R(2), |
411 B(Star), R(9), | 411 B(Star), R(9), |
412 B(LdaZero), | 412 B(LdaZero), |
413 B(Star), R(8), | 413 B(Star), R(8), |
414 B(Jump), U8(74), | 414 B(Jump), U8(72), |
415 B(Ldar), R(14), | 415 B(Ldar), R(14), |
416 /* 36 E> */ B(Throw), | 416 /* 36 E> */ B(Throw), |
417 B(PopContext), R(2), | 417 B(PopContext), R(2), |
418 B(LdaZero), | 418 B(LdaZero), |
419 B(StaContextSlot), R(1), U8(9), U8(0), | 419 B(StaContextSlot), R(1), U8(9), U8(0), |
420 B(Wide), B(JumpLoop), U16(-220), U16(0), | 420 B(Wide), B(JumpLoop), U16(-214), U16(0), |
421 B(Jump), U8(44), | 421 B(Jump), U8(42), |
422 B(Star), R(12), | 422 B(Star), R(12), |
423 B(Ldar), R(closure), | 423 B(Ldar), R(closure), |
424 B(CreateCatchContext), R(12), U8(10), U8(11), | 424 B(CreateCatchContext), R(12), U8(10), U8(11), |
425 B(Star), R(11), | 425 B(Star), R(11), |
426 B(PushContext), R(2), | 426 B(PushContext), R(2), |
427 B(LdrContextSlot), R(0), U8(9), U8(0), R(12), | 427 B(LdrContextSlot), R(0), U8(9), U8(0), R(12), |
428 B(LdaSmi), U8(2), | 428 B(LdaSmi), U8(2), |
429 B(TestEqualStrict), R(12), U8(14), | 429 B(TestEqualStrict), R(12), U8(14), |
430 B(JumpIfFalse), U8(8), | 430 B(JumpIfFalse), U8(8), |
431 B(LdaSmi), U8(1), | 431 B(LdaSmi), U8(1), |
432 B(StaContextSlot), R(0), U8(9), U8(0), | 432 B(StaContextSlot), R(0), U8(9), U8(0), |
433 B(LdrContextSlot), R(context), U8(4), U8(0), R(12), | 433 B(LdrCurrentContextSlot), U8(4), R(12), |
434 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), | 434 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), |
435 B(PopContext), R(2), | 435 B(PopContext), R(2), |
436 B(LdaSmi), U8(-1), | 436 B(LdaSmi), U8(-1), |
437 B(Star), R(8), | 437 B(Star), R(8), |
438 B(Jump), U8(8), | 438 B(Jump), U8(8), |
439 B(Star), R(9), | 439 B(Star), R(9), |
440 B(LdaSmi), U8(1), | 440 B(LdaSmi), U8(1), |
441 B(Star), R(8), | 441 B(Star), R(8), |
442 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 442 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
443 B(Star), R(10), | 443 B(Star), R(10), |
444 B(LdrContextSlot), R(1), U8(9), U8(0), R(11), | 444 B(LdrContextSlot), R(1), U8(9), U8(0), R(11), |
445 B(LdaZero), | 445 B(LdaZero), |
446 B(TestEqualStrict), R(11), U8(15), | 446 B(TestEqualStrict), R(11), U8(15), |
447 B(JumpIfTrueConstant), U8(17), | 447 B(JumpIfTrueConstant), U8(17), |
448 B(LdrContextSlot), R(1), U8(7), U8(0), R(11), | 448 B(LdrContextSlot), R(1), U8(7), U8(0), R(11), |
449 B(LdaUndefined), | 449 B(LdaUndefined), |
450 B(TestEqualStrict), R(11), U8(16), | 450 B(TestEqualStrict), R(11), U8(16), |
451 B(JumpIfTrueConstant), U8(9), | 451 B(JumpIfTrueConstant), U8(18), |
452 B(LdrContextSlot), R(1), U8(7), U8(0), R(11), | 452 B(LdrContextSlot), R(1), U8(7), U8(0), R(11), |
453 B(LdaNamedProperty), R(11), U8(12), U8(17), | 453 B(LdaNamedProperty), R(11), U8(12), U8(17), |
454 B(StaContextSlot), R(1), U8(11), U8(0), | 454 B(StaContextSlot), R(1), U8(11), U8(0), |
455 B(LdrContextSlot), R(1), U8(11), U8(0), R(11), | 455 B(LdrContextSlot), R(1), U8(11), U8(0), R(11), |
456 B(LdaNull), | 456 B(LdaNull), |
457 B(TestEqual), R(11), U8(19), | 457 B(TestEqual), R(11), U8(19), |
458 B(JumpIfFalse), U8(4), | 458 B(JumpIfFalse), U8(4), |
459 B(JumpConstant), U8(16), | 459 B(JumpConstant), U8(16), |
460 B(LdrContextSlot), R(1), U8(9), U8(0), R(11), | 460 B(LdrContextSlot), R(1), U8(9), U8(0), R(11), |
461 B(LdaSmi), U8(1), | 461 B(LdaSmi), U8(1), |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 B(Star), R(5), | 528 B(Star), R(5), |
529 B(Jump), U8(14), | 529 B(Jump), U8(14), |
530 B(LdaSmi), U8(-1), | 530 B(LdaSmi), U8(-1), |
531 B(Star), R(5), | 531 B(Star), R(5), |
532 B(Jump), U8(8), | 532 B(Jump), U8(8), |
533 B(Star), R(6), | 533 B(Star), R(6), |
534 B(LdaSmi), U8(4), | 534 B(LdaSmi), U8(4), |
535 B(Star), R(5), | 535 B(Star), R(5), |
536 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 536 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
537 B(Star), R(7), | 537 B(Star), R(7), |
538 B(LdrContextSlot), R(context), U8(5), U8(0), R(8), | 538 B(LdrCurrentContextSlot), U8(5), R(8), |
539 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), | 539 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), |
540 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(7
), U8(1), | 540 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(7
), U8(1), |
541 B(LdaZero), | 541 B(LdaZero), |
542 B(TestEqualStrict), R(5), U8(0), | 542 B(TestEqualStrict), R(5), U8(0), |
543 B(JumpIfTrue), U8(32), | 543 B(JumpIfTrue), U8(32), |
544 B(LdaSmi), U8(1), | 544 B(LdaSmi), U8(1), |
545 B(TestEqualStrict), R(5), U8(0), | 545 B(TestEqualStrict), R(5), U8(0), |
546 B(JumpIfTrue), U8(28), | 546 B(JumpIfTrue), U8(28), |
547 B(LdaSmi), U8(2), | 547 B(LdaSmi), U8(2), |
548 B(TestEqualStrict), R(5), U8(0), | 548 B(TestEqualStrict), R(5), U8(0), |
(...skipping 15 matching lines...) Expand all Loading... |
564 /* 44 S> */ B(Return), | 564 /* 44 S> */ B(Return), |
565 B(Ldar), R(6), | 565 B(Ldar), R(6), |
566 B(ReThrow), | 566 B(ReThrow), |
567 B(LdaUndefined), | 567 B(LdaUndefined), |
568 /* 44 S> */ B(Return), | 568 /* 44 S> */ B(Return), |
569 ] | 569 ] |
570 constant pool: [ | 570 constant pool: [ |
571 FIXED_ARRAY_TYPE, | 571 FIXED_ARRAY_TYPE, |
572 FIXED_ARRAY_TYPE, | 572 FIXED_ARRAY_TYPE, |
573 SYMBOL_TYPE, | 573 SYMBOL_TYPE, |
574 Smi [158], | 574 Smi [148], |
575 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 575 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
576 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 576 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
577 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 577 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
578 FIXED_ARRAY_TYPE, | 578 FIXED_ARRAY_TYPE, |
579 Smi [134], | 579 Smi [128], |
580 Smi [155], | 580 Smi [149], |
581 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 581 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
582 FIXED_ARRAY_TYPE, | 582 FIXED_ARRAY_TYPE, |
583 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 583 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
584 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 584 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
585 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 585 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
586 FIXED_ARRAY_TYPE, | 586 FIXED_ARRAY_TYPE, |
587 Smi [129], | 587 Smi [129], |
588 Smi [166], | 588 Smi [166], |
589 Smi [589], | 589 Smi [155], |
| 590 Smi [579], |
590 ] | 591 ] |
591 handlers: [ | 592 handlers: [ |
592 [48, 706, 712], | 593 [46, 688, 694], |
593 [153, 446, 452], | 594 [143, 428, 434], |
594 [156, 402, 404], | 595 [146, 386, 388], |
595 [560, 574, 576], | 596 [542, 556, 558], |
596 ] | 597 ] |
597 | 598 |
OLD | NEW |