Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(733)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden

Issue 2889973002: [Interpreter] Handle various generator intrinsics (Closed)
Patch Set: REBASE. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 async iteration: yes 8 async iteration: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 async function f() { 12 async function f() {
13 for await (let x of [1, 2, 3]) {} 13 for await (let x of [1, 2, 3]) {}
14 } 14 }
15 f(); 15 f();
16 " 16 "
17 frame size: 18 17 frame size: 18
18 parameter count: 1 18 parameter count: 1
19 bytecode array length: 953 19 bytecode array length: 946
20 bytecodes: [ 20 bytecodes: [
21 B(Ldar), R(new_target), 21 B(Ldar), R(new_target),
22 B(JumpIfUndefined), U8(26), 22 B(JumpIfUndefined), U8(25),
23 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 23 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
24 B(PushContext), R(4), 24 B(PushContext), R(4),
25 B(ResumeGenerator), R(new_target), 25 B(ResumeGenerator), R(new_target),
26 B(Star), R(3), 26 B(Star), R(3),
27 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), 27 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0),
28 B(LdaSmi), I8(79), 28 B(LdaSmi), I8(79),
29 B(Star), R(5), 29 B(Star), R(5),
30 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 30 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
31 B(LdaSmi), I8(-2), 31 B(LdaSmi), I8(-2),
32 B(Star), R(3), 32 B(Star), R(3),
33 B(CreateFunctionContext), U8(12), 33 B(CreateFunctionContext), U8(12),
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 B(Star), R(17), 93 B(Star), R(17),
94 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4), 94 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4),
95 B(LdaContextSlot), R(1), U8(10), U8(0), 95 B(LdaContextSlot), R(1), U8(10), U8(0),
96 B(Star), R(14), 96 B(Star), R(14),
97 B(LdaZero), 97 B(LdaZero),
98 B(SuspendGenerator), R(13), U8(2), 98 B(SuspendGenerator), R(13), U8(2),
99 B(Ldar), R(14), 99 B(Ldar), R(14),
100 /* 57 S> */ B(Return), 100 /* 57 S> */ B(Return),
101 B(LdaSmi), I8(-2), 101 B(LdaSmi), I8(-2),
102 B(Star), R(3), 102 B(Star), R(3),
103 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1), 103 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
104 B(Star), R(14), 104 B(Star), R(14),
105 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1), 105 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
106 B(Star), R(15), 106 B(Star), R(15),
107 B(LdaZero), 107 B(LdaZero),
108 B(TestEqualStrictNoFeedback), R(15), 108 B(TestEqualStrictNoFeedback), R(15),
109 B(JumpIfTrue), U8(28), 109 B(JumpIfTrue), U8(28),
110 B(LdaSmi), I8(2), 110 B(LdaSmi), I8(2),
111 B(TestEqualStrictNoFeedback), R(15), 111 B(TestEqualStrictNoFeedback), R(15),
112 B(JumpIfTrue), U8(19), 112 B(JumpIfTrue), U8(19),
113 B(LdaTrue), 113 B(LdaTrue),
114 B(Star), R(17), 114 B(Star), R(17),
115 B(Mov), R(14), R(16), 115 B(Mov), R(14), R(16),
(...skipping 28 matching lines...) Expand all
144 B(Ldar), R(closure), 144 B(Ldar), R(closure),
145 B(CreateBlockContext), U8(11), 145 B(CreateBlockContext), U8(11),
146 B(PushContext), R(2), 146 B(PushContext), R(2),
147 B(LdaTheHole), 147 B(LdaTheHole),
148 B(StaCurrentContextSlot), U8(4), 148 B(StaCurrentContextSlot), U8(4),
149 B(LdaContextSlot), R(1), U8(5), U8(0), 149 B(LdaContextSlot), R(1), U8(5), U8(0),
150 B(StaCurrentContextSlot), U8(4), 150 B(StaCurrentContextSlot), U8(4),
151 B(PopContext), R(2), 151 B(PopContext), R(2),
152 B(LdaZero), 152 B(LdaZero),
153 B(StaContextSlot), R(1), U8(8), U8(0), 153 B(StaContextSlot), R(1), U8(8), U8(0),
154 B(JumpLoop), U8(221), I8(0), 154 B(JumpLoop), U8(219), I8(0),
155 B(Jump), U8(48), 155 B(Jump), U8(48),
156 B(Star), R(13), 156 B(Star), R(13),
157 B(Ldar), R(closure), 157 B(Ldar), R(closure),
158 B(CreateCatchContext), R(13), U8(12), U8(13), 158 B(CreateCatchContext), R(13), U8(12), U8(13),
159 B(Star), R(12), 159 B(Star), R(12),
160 B(LdaTheHole), 160 B(LdaTheHole),
161 B(SetPendingMessage), 161 B(SetPendingMessage),
162 B(Ldar), R(12), 162 B(Ldar), R(12),
163 B(PushContext), R(2), 163 B(PushContext), R(2),
164 B(LdaContextSlot), R(1), U8(8), U8(0), 164 B(LdaContextSlot), R(1), U8(8), U8(0),
(...skipping 26 matching lines...) Expand all
191 B(LdaNamedProperty), R(12), U8(14), U8(22), 191 B(LdaNamedProperty), R(12), U8(14), U8(22),
192 B(StaContextSlot), R(1), U8(12), U8(0), 192 B(StaContextSlot), R(1), U8(12), U8(0),
193 B(LdaContextSlot), R(1), U8(12), U8(0), 193 B(LdaContextSlot), R(1), U8(12), U8(0),
194 B(TestUndetectable), 194 B(TestUndetectable),
195 B(JumpIfFalse), U8(4), 195 B(JumpIfFalse), U8(4),
196 B(JumpConstant), U8(17), 196 B(JumpConstant), U8(17),
197 B(LdaContextSlot), R(1), U8(8), U8(0), 197 B(LdaContextSlot), R(1), U8(8), U8(0),
198 B(Star), R(12), 198 B(Star), R(12),
199 B(LdaSmi), I8(1), 199 B(LdaSmi), I8(1),
200 B(TestEqualStrict), R(12), U8(25), 200 B(TestEqualStrict), R(12), U8(25),
201 B(JumpIfFalse), U8(177), 201 B(JumpIfFalse), U8(175),
202 B(LdaContextSlot), R(1), U8(12), U8(0), 202 B(LdaContextSlot), R(1), U8(12), U8(0),
203 B(TestTypeOf), U8(5), 203 B(TestTypeOf), U8(5),
204 B(JumpIfFalse), U8(4), 204 B(JumpIfFalse), U8(4),
205 B(Jump), U8(18), 205 B(Jump), U8(18),
206 B(Wide), B(LdaSmi), I16(130), 206 B(Wide), B(LdaSmi), I16(130),
207 B(Star), R(12), 207 B(Star), R(12),
208 B(LdaConstant), U8(15), 208 B(LdaConstant), U8(15),
209 B(Star), R(13), 209 B(Star), R(13),
210 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), 210 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
211 B(Throw), 211 B(Throw),
(...skipping 16 matching lines...) Expand all
228 B(Star), R(17), 228 B(Star), R(17),
229 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) , 229 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) ,
230 B(LdaContextSlot), R(1), U8(10), U8(0), 230 B(LdaContextSlot), R(1), U8(10), U8(0),
231 B(Star), R(14), 231 B(Star), R(14),
232 B(LdaSmi), I8(1), 232 B(LdaSmi), I8(1),
233 B(SuspendGenerator), R(13), U8(2), 233 B(SuspendGenerator), R(13), U8(2),
234 B(Ldar), R(14), 234 B(Ldar), R(14),
235 /* 57 S> */ B(Return), 235 /* 57 S> */ B(Return),
236 B(LdaSmi), I8(-2), 236 B(LdaSmi), I8(-2),
237 B(Star), R(3), 237 B(Star), R(3),
238 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1), 238 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
239 B(Star), R(14), 239 B(Star), R(14),
240 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1), 240 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
241 B(Star), R(15), 241 B(Star), R(15),
242 B(LdaZero), 242 B(LdaZero),
243 B(TestEqualStrictNoFeedback), R(15), 243 B(TestEqualStrictNoFeedback), R(15),
244 B(JumpIfTrue), U8(36), 244 B(JumpIfTrue), U8(36),
245 B(LdaSmi), I8(2), 245 B(LdaSmi), I8(2),
246 B(TestEqualStrictNoFeedback), R(15), 246 B(TestEqualStrictNoFeedback), R(15),
247 B(JumpIfTrue), U8(27), 247 B(JumpIfTrue), U8(27),
248 B(LdaTrue), 248 B(LdaTrue),
249 B(Star), R(17), 249 B(Star), R(17),
250 B(Mov), R(14), R(16), 250 B(Mov), R(14), R(16),
(...skipping 12 matching lines...) Expand all
263 B(Jump), U8(20), 263 B(Jump), U8(20),
264 B(Star), R(13), 264 B(Star), R(13),
265 B(Ldar), R(closure), 265 B(Ldar), R(closure),
266 B(CreateCatchContext), R(13), U8(12), U8(16), 266 B(CreateCatchContext), R(13), U8(12), U8(16),
267 B(Star), R(12), 267 B(Star), R(12),
268 B(LdaTheHole), 268 B(LdaTheHole),
269 B(SetPendingMessage), 269 B(SetPendingMessage),
270 B(Ldar), R(12), 270 B(Ldar), R(12),
271 B(PushContext), R(2), 271 B(PushContext), R(2),
272 B(PopContext), R(2), 272 B(PopContext), R(2),
273 B(Jump), U8(155), 273 B(Jump), U8(153),
274 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 274 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
275 B(Star), R(12), 275 B(Star), R(12),
276 B(LdaContextSlot), R(1), U8(12), U8(0), 276 B(LdaContextSlot), R(1), U8(12), U8(0),
277 B(Star), R(13), 277 B(Star), R(13),
278 B(LdaContextSlot), R(1), U8(6), U8(0), 278 B(LdaContextSlot), R(1), U8(6), U8(0),
279 B(Star), R(14), 279 B(Star), R(14),
280 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), 280 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
281 B(StaContextSlot), R(1), U8(15), U8(0), 281 B(StaContextSlot), R(1), U8(15), U8(0),
282 B(LdaUndefined), 282 B(LdaUndefined),
283 B(Star), R(13), 283 B(Star), R(13),
284 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 284 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
285 B(Star), R(14), 285 B(Star), R(14),
286 B(LdaContextSlot), R(1), U8(15), U8(0), 286 B(LdaContextSlot), R(1), U8(15), U8(0),
287 B(Star), R(15), 287 B(Star), R(15),
288 B(LdaContextSlot), R(1), U8(10), U8(0), 288 B(LdaContextSlot), R(1), U8(10), U8(0),
289 B(Star), R(16), 289 B(Star), R(16),
290 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4), 290 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4),
291 B(LdaContextSlot), R(1), U8(10), U8(0), 291 B(LdaContextSlot), R(1), U8(10), U8(0),
292 B(Star), R(13), 292 B(Star), R(13),
293 B(LdaSmi), I8(2), 293 B(LdaSmi), I8(2),
294 B(SuspendGenerator), R(12), U8(2), 294 B(SuspendGenerator), R(12), U8(2),
295 B(Ldar), R(13), 295 B(Ldar), R(13),
296 /* 57 S> */ B(Return), 296 /* 57 S> */ B(Return),
297 B(LdaSmi), I8(-2), 297 B(LdaSmi), I8(-2),
298 B(Star), R(3), 298 B(Star), R(3),
299 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1), 299 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1),
300 B(Star), R(13), 300 B(Star), R(13),
301 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1), 301 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(12) , U8(1),
302 B(Star), R(14), 302 B(Star), R(14),
303 B(LdaZero), 303 B(LdaZero),
304 B(TestEqualStrictNoFeedback), R(14), 304 B(TestEqualStrictNoFeedback), R(14),
305 B(JumpIfTrue), U8(36), 305 B(JumpIfTrue), U8(36),
306 B(LdaSmi), I8(2), 306 B(LdaSmi), I8(2),
307 B(TestEqualStrictNoFeedback), R(14), 307 B(TestEqualStrictNoFeedback), R(14),
308 B(JumpIfTrue), U8(27), 308 B(JumpIfTrue), U8(27),
309 B(LdaTrue), 309 B(LdaTrue),
310 B(Star), R(16), 310 B(Star), R(16),
311 B(Mov), R(13), R(15), 311 B(Mov), R(13), R(15),
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 B(Jump), U8(8), 406 B(Jump), U8(8),
407 B(Ldar), R(6), 407 B(Ldar), R(6),
408 /* 57 S> */ B(Return), 408 /* 57 S> */ B(Return),
409 B(Ldar), R(6), 409 B(Ldar), R(6),
410 B(ReThrow), 410 B(ReThrow),
411 B(LdaUndefined), 411 B(LdaUndefined),
412 /* 57 S> */ B(Return), 412 /* 57 S> */ B(Return),
413 ] 413 ]
414 constant pool: [ 414 constant pool: [
415 Smi [116], 415 Smi [116],
416 Smi [546], 416 Smi [544],
417 Smi [692], 417 Smi [688],
418 FIXED_ARRAY_TYPE, 418 FIXED_ARRAY_TYPE,
419 TUPLE2_TYPE, 419 TUPLE2_TYPE,
420 SYMBOL_TYPE, 420 SYMBOL_TYPE,
421 SYMBOL_TYPE, 421 SYMBOL_TYPE,
422 Smi [83], 422 Smi [83],
423 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 423 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
424 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 424 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
425 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 425 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
426 FIXED_ARRAY_TYPE, 426 FIXED_ARRAY_TYPE,
427 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 427 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
428 FIXED_ARRAY_TYPE, 428 FIXED_ARRAY_TYPE,
429 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 429 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
430 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 430 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
431 FIXED_ARRAY_TYPE, 431 FIXED_ARRAY_TYPE,
432 Smi [343], 432 Smi [339],
433 Smi [366], 433 Smi [362],
434 Smi [6], 434 Smi [6],
435 Smi [22], 435 Smi [22],
436 FIXED_ARRAY_TYPE, 436 FIXED_ARRAY_TYPE,
437 Smi [306], 437 Smi [304],
438 Smi [6], 438 Smi [6],
439 Smi [9], 439 Smi [9],
440 ] 440 ]
441 handlers: [ 441 handlers: [
442 [61, 907, 913], 442 [60, 900, 906],
443 [64, 854, 856], 443 [63, 847, 849],
444 [81, 403, 409], 444 [80, 400, 406],
445 [84, 355, 357], 445 [83, 352, 354],
446 [496, 620, 622], 446 [493, 615, 617],
447 ] 447 ]
448 448
449 --- 449 ---
450 snippet: " 450 snippet: "
451 async function f() { 451 async function f() {
452 for await (let x of [1, 2, 3]) { return x; } 452 for await (let x of [1, 2, 3]) { return x; }
453 } 453 }
454 f(); 454 f();
455 " 455 "
456 frame size: 18 456 frame size: 18
457 parameter count: 1 457 parameter count: 1
458 bytecode array length: 999 458 bytecode array length: 992
459 bytecodes: [ 459 bytecodes: [
460 B(Ldar), R(new_target), 460 B(Ldar), R(new_target),
461 B(JumpIfUndefined), U8(26), 461 B(JumpIfUndefined), U8(25),
462 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 462 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
463 B(PushContext), R(4), 463 B(PushContext), R(4),
464 B(ResumeGenerator), R(new_target), 464 B(ResumeGenerator), R(new_target),
465 B(Star), R(3), 465 B(Star), R(3),
466 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), 466 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0),
467 B(LdaSmi), I8(79), 467 B(LdaSmi), I8(79),
468 B(Star), R(5), 468 B(Star), R(5),
469 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 469 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
470 B(LdaSmi), I8(-2), 470 B(LdaSmi), I8(-2),
471 B(Star), R(3), 471 B(Star), R(3),
472 B(CreateFunctionContext), U8(12), 472 B(CreateFunctionContext), U8(12),
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 B(Star), R(17), 532 B(Star), R(17),
533 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4), 533 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4),
534 B(LdaContextSlot), R(1), U8(10), U8(0), 534 B(LdaContextSlot), R(1), U8(10), U8(0),
535 B(Star), R(14), 535 B(Star), R(14),
536 B(LdaZero), 536 B(LdaZero),
537 B(SuspendGenerator), R(13), U8(2), 537 B(SuspendGenerator), R(13), U8(2),
538 B(Ldar), R(14), 538 B(Ldar), R(14),
539 /* 68 S> */ B(Return), 539 /* 68 S> */ B(Return),
540 B(LdaSmi), I8(-2), 540 B(LdaSmi), I8(-2),
541 B(Star), R(3), 541 B(Star), R(3),
542 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1), 542 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
543 B(Star), R(14), 543 B(Star), R(14),
544 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1), 544 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
545 B(Star), R(15), 545 B(Star), R(15),
546 B(LdaZero), 546 B(LdaZero),
547 B(TestEqualStrictNoFeedback), R(15), 547 B(TestEqualStrictNoFeedback), R(15),
548 B(JumpIfTrue), U8(28), 548 B(JumpIfTrue), U8(28),
549 B(LdaSmi), I8(2), 549 B(LdaSmi), I8(2),
550 B(TestEqualStrictNoFeedback), R(15), 550 B(TestEqualStrictNoFeedback), R(15),
551 B(JumpIfTrue), U8(19), 551 B(JumpIfTrue), U8(19),
552 B(LdaTrue), 552 B(LdaTrue),
553 B(Star), R(17), 553 B(Star), R(17),
554 B(Mov), R(14), R(16), 554 B(Mov), R(14), R(16),
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 B(LdaNamedProperty), R(12), U8(14), U8(22), 637 B(LdaNamedProperty), R(12), U8(14), U8(22),
638 B(StaContextSlot), R(1), U8(12), U8(0), 638 B(StaContextSlot), R(1), U8(12), U8(0),
639 B(LdaContextSlot), R(1), U8(12), U8(0), 639 B(LdaContextSlot), R(1), U8(12), U8(0),
640 B(TestUndetectable), 640 B(TestUndetectable),
641 B(JumpIfFalse), U8(4), 641 B(JumpIfFalse), U8(4),
642 B(JumpConstant), U8(17), 642 B(JumpConstant), U8(17),
643 B(LdaContextSlot), R(1), U8(8), U8(0), 643 B(LdaContextSlot), R(1), U8(8), U8(0),
644 B(Star), R(12), 644 B(Star), R(12),
645 B(LdaSmi), I8(1), 645 B(LdaSmi), I8(1),
646 B(TestEqualStrict), R(12), U8(25), 646 B(TestEqualStrict), R(12), U8(25),
647 B(JumpIfFalse), U8(177), 647 B(JumpIfFalse), U8(175),
648 B(LdaContextSlot), R(1), U8(12), U8(0), 648 B(LdaContextSlot), R(1), U8(12), U8(0),
649 B(TestTypeOf), U8(5), 649 B(TestTypeOf), U8(5),
650 B(JumpIfFalse), U8(4), 650 B(JumpIfFalse), U8(4),
651 B(Jump), U8(18), 651 B(Jump), U8(18),
652 B(Wide), B(LdaSmi), I16(130), 652 B(Wide), B(LdaSmi), I16(130),
653 B(Star), R(12), 653 B(Star), R(12),
654 B(LdaConstant), U8(15), 654 B(LdaConstant), U8(15),
655 B(Star), R(13), 655 B(Star), R(13),
656 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), 656 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
657 B(Throw), 657 B(Throw),
(...skipping 16 matching lines...) Expand all
674 B(Star), R(17), 674 B(Star), R(17),
675 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) , 675 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) ,
676 B(LdaContextSlot), R(1), U8(10), U8(0), 676 B(LdaContextSlot), R(1), U8(10), U8(0),
677 B(Star), R(14), 677 B(Star), R(14),
678 B(LdaSmi), I8(1), 678 B(LdaSmi), I8(1),
679 B(SuspendGenerator), R(13), U8(2), 679 B(SuspendGenerator), R(13), U8(2),
680 B(Ldar), R(14), 680 B(Ldar), R(14),
681 /* 68 S> */ B(Return), 681 /* 68 S> */ B(Return),
682 B(LdaSmi), I8(-2), 682 B(LdaSmi), I8(-2),
683 B(Star), R(3), 683 B(Star), R(3),
684 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1), 684 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
685 B(Star), R(14), 685 B(Star), R(14),
686 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1), 686 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
687 B(Star), R(15), 687 B(Star), R(15),
688 B(LdaZero), 688 B(LdaZero),
689 B(TestEqualStrictNoFeedback), R(15), 689 B(TestEqualStrictNoFeedback), R(15),
690 B(JumpIfTrue), U8(36), 690 B(JumpIfTrue), U8(36),
691 B(LdaSmi), I8(2), 691 B(LdaSmi), I8(2),
692 B(TestEqualStrictNoFeedback), R(15), 692 B(TestEqualStrictNoFeedback), R(15),
693 B(JumpIfTrue), U8(27), 693 B(JumpIfTrue), U8(27),
694 B(LdaTrue), 694 B(LdaTrue),
695 B(Star), R(17), 695 B(Star), R(17),
696 B(Mov), R(14), R(16), 696 B(Mov), R(14), R(16),
(...skipping 12 matching lines...) Expand all
709 B(Jump), U8(20), 709 B(Jump), U8(20),
710 B(Star), R(13), 710 B(Star), R(13),
711 B(Ldar), R(closure), 711 B(Ldar), R(closure),
712 B(CreateCatchContext), R(13), U8(12), U8(16), 712 B(CreateCatchContext), R(13), U8(12), U8(16),
713 B(Star), R(12), 713 B(Star), R(12),
714 B(LdaTheHole), 714 B(LdaTheHole),
715 B(SetPendingMessage), 715 B(SetPendingMessage),
716 B(Ldar), R(12), 716 B(Ldar), R(12),
717 B(PushContext), R(2), 717 B(PushContext), R(2),
718 B(PopContext), R(2), 718 B(PopContext), R(2),
719 B(Jump), U8(155), 719 B(Jump), U8(153),
720 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 720 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
721 B(Star), R(12), 721 B(Star), R(12),
722 B(LdaContextSlot), R(1), U8(12), U8(0), 722 B(LdaContextSlot), R(1), U8(12), U8(0),
723 B(Star), R(13), 723 B(Star), R(13),
724 B(LdaContextSlot), R(1), U8(6), U8(0), 724 B(LdaContextSlot), R(1), U8(6), U8(0),
725 B(Star), R(14), 725 B(Star), R(14),
726 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), 726 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
727 B(StaContextSlot), R(1), U8(15), U8(0), 727 B(StaContextSlot), R(1), U8(15), U8(0),
728 B(LdaUndefined), 728 B(LdaUndefined),
729 B(Star), R(13), 729 B(Star), R(13),
730 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 730 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
731 B(Star), R(14), 731 B(Star), R(14),
732 B(LdaContextSlot), R(1), U8(15), U8(0), 732 B(LdaContextSlot), R(1), U8(15), U8(0),
733 B(Star), R(15), 733 B(Star), R(15),
734 B(LdaContextSlot), R(1), U8(10), U8(0), 734 B(LdaContextSlot), R(1), U8(10), U8(0),
735 B(Star), R(16), 735 B(Star), R(16),
736 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4), 736 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4),
737 B(LdaContextSlot), R(1), U8(10), U8(0), 737 B(LdaContextSlot), R(1), U8(10), U8(0),
738 B(Star), R(13), 738 B(Star), R(13),
739 B(LdaSmi), I8(2), 739 B(LdaSmi), I8(2),
740 B(SuspendGenerator), R(12), U8(2), 740 B(SuspendGenerator), R(12), U8(2),
741 B(Ldar), R(13), 741 B(Ldar), R(13),
742 /* 68 S> */ B(Return), 742 /* 68 S> */ B(Return),
743 B(LdaSmi), I8(-2), 743 B(LdaSmi), I8(-2),
744 B(Star), R(3), 744 B(Star), R(3),
745 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1), 745 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1),
746 B(Star), R(13), 746 B(Star), R(13),
747 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1), 747 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(12) , U8(1),
748 B(Star), R(14), 748 B(Star), R(14),
749 B(LdaZero), 749 B(LdaZero),
750 B(TestEqualStrictNoFeedback), R(14), 750 B(TestEqualStrictNoFeedback), R(14),
751 B(JumpIfTrue), U8(36), 751 B(JumpIfTrue), U8(36),
752 B(LdaSmi), I8(2), 752 B(LdaSmi), I8(2),
753 B(TestEqualStrictNoFeedback), R(14), 753 B(TestEqualStrictNoFeedback), R(14),
754 B(JumpIfTrue), U8(27), 754 B(JumpIfTrue), U8(27),
755 B(LdaTrue), 755 B(LdaTrue),
756 B(Star), R(16), 756 B(Star), R(16),
757 B(Mov), R(13), R(15), 757 B(Mov), R(13), R(15),
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 B(CallJSRuntime), U8(%promise_resolve), R(8), U8(3), 868 B(CallJSRuntime), U8(%promise_resolve), R(8), U8(3),
869 B(Ldar), R(9), 869 B(Ldar), R(9),
870 /* 68 S> */ B(Return), 870 /* 68 S> */ B(Return),
871 B(Ldar), R(6), 871 B(Ldar), R(6),
872 B(ReThrow), 872 B(ReThrow),
873 B(LdaUndefined), 873 B(LdaUndefined),
874 /* 68 S> */ B(Return), 874 /* 68 S> */ B(Return),
875 ] 875 ]
876 constant pool: [ 876 constant pool: [
877 Smi [116], 877 Smi [116],
878 Smi [558], 878 Smi [556],
879 Smi [704], 879 Smi [700],
880 FIXED_ARRAY_TYPE, 880 FIXED_ARRAY_TYPE,
881 TUPLE2_TYPE, 881 TUPLE2_TYPE,
882 SYMBOL_TYPE, 882 SYMBOL_TYPE,
883 SYMBOL_TYPE, 883 SYMBOL_TYPE,
884 Smi [83], 884 Smi [83],
885 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 885 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
886 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 886 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
887 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 887 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
888 FIXED_ARRAY_TYPE, 888 FIXED_ARRAY_TYPE,
889 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 889 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
890 FIXED_ARRAY_TYPE, 890 FIXED_ARRAY_TYPE,
891 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 891 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
892 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 892 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
893 FIXED_ARRAY_TYPE, 893 FIXED_ARRAY_TYPE,
894 Smi [343], 894 Smi [339],
895 Smi [366], 895 Smi [362],
896 Smi [6], 896 Smi [6],
897 Smi [22], 897 Smi [22],
898 Smi [39], 898 Smi [39],
899 FIXED_ARRAY_TYPE, 899 FIXED_ARRAY_TYPE,
900 Smi [323], 900 Smi [321],
901 Smi [6], 901 Smi [6],
902 Smi [9], 902 Smi [9],
903 Smi [26], 903 Smi [26],
904 ] 904 ]
905 handlers: [ 905 handlers: [
906 [61, 936, 942], 906 [60, 929, 935],
907 [64, 883, 885], 907 [63, 876, 878],
908 [81, 415, 421], 908 [80, 412, 418],
909 [84, 367, 369], 909 [83, 364, 366],
910 [508, 632, 634], 910 [505, 627, 629],
911 ] 911 ]
912 912
913 --- 913 ---
914 snippet: " 914 snippet: "
915 async function f() { 915 async function f() {
916 for await (let x of [10, 20, 30]) { 916 for await (let x of [10, 20, 30]) {
917 if (x == 10) continue; 917 if (x == 10) continue;
918 if (x == 20) break; 918 if (x == 20) break;
919 } 919 }
920 } 920 }
921 f(); 921 f();
922 " 922 "
923 frame size: 18 923 frame size: 18
924 parameter count: 1 924 parameter count: 1
925 bytecode array length: 987 925 bytecode array length: 980
926 bytecodes: [ 926 bytecodes: [
927 B(Ldar), R(new_target), 927 B(Ldar), R(new_target),
928 B(JumpIfUndefined), U8(26), 928 B(JumpIfUndefined), U8(25),
929 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 929 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
930 B(PushContext), R(4), 930 B(PushContext), R(4),
931 B(ResumeGenerator), R(new_target), 931 B(ResumeGenerator), R(new_target),
932 B(Star), R(3), 932 B(Star), R(3),
933 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), 933 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0),
934 B(LdaSmi), I8(79), 934 B(LdaSmi), I8(79),
935 B(Star), R(5), 935 B(Star), R(5),
936 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 936 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
937 B(LdaSmi), I8(-2), 937 B(LdaSmi), I8(-2),
938 B(Star), R(3), 938 B(Star), R(3),
939 B(CreateFunctionContext), U8(12), 939 B(CreateFunctionContext), U8(12),
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 B(Star), R(17), 999 B(Star), R(17),
1000 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4), 1000 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4),
1001 B(LdaContextSlot), R(1), U8(10), U8(0), 1001 B(LdaContextSlot), R(1), U8(10), U8(0),
1002 B(Star), R(14), 1002 B(Star), R(14),
1003 B(LdaZero), 1003 B(LdaZero),
1004 B(SuspendGenerator), R(13), U8(2), 1004 B(SuspendGenerator), R(13), U8(2),
1005 B(Ldar), R(14), 1005 B(Ldar), R(14),
1006 /* 114 S> */ B(Return), 1006 /* 114 S> */ B(Return),
1007 B(LdaSmi), I8(-2), 1007 B(LdaSmi), I8(-2),
1008 B(Star), R(3), 1008 B(Star), R(3),
1009 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1), 1009 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
1010 B(Star), R(14), 1010 B(Star), R(14),
1011 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1), 1011 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
1012 B(Star), R(15), 1012 B(Star), R(15),
1013 B(LdaZero), 1013 B(LdaZero),
1014 B(TestEqualStrictNoFeedback), R(15), 1014 B(TestEqualStrictNoFeedback), R(15),
1015 B(JumpIfTrue), U8(28), 1015 B(JumpIfTrue), U8(28),
1016 B(LdaSmi), I8(2), 1016 B(LdaSmi), I8(2),
1017 B(TestEqualStrictNoFeedback), R(15), 1017 B(TestEqualStrictNoFeedback), R(15),
1018 B(JumpIfTrue), U8(19), 1018 B(JumpIfTrue), U8(19),
1019 B(LdaTrue), 1019 B(LdaTrue),
1020 B(Star), R(17), 1020 B(Star), R(17),
1021 B(Mov), R(14), R(16), 1021 B(Mov), R(14), R(16),
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 B(Star), R(13), 1066 B(Star), R(13),
1067 B(LdaSmi), I8(20), 1067 B(LdaSmi), I8(20),
1068 /* 96 E> */ B(TestEqual), R(13), U8(21), 1068 /* 96 E> */ B(TestEqual), R(13), U8(21),
1069 B(JumpIfFalse), U8(8), 1069 B(JumpIfFalse), U8(8),
1070 /* 103 S> */ B(PopContext), R(2), 1070 /* 103 S> */ B(PopContext), R(2),
1071 B(PopContext), R(2), 1071 B(PopContext), R(2),
1072 B(Jump), U8(12), 1072 B(Jump), U8(12),
1073 B(PopContext), R(2), 1073 B(PopContext), R(2),
1074 B(LdaZero), 1074 B(LdaZero),
1075 B(StaContextSlot), R(1), U8(8), U8(0), 1075 B(StaContextSlot), R(1), U8(8), U8(0),
1076 B(JumpLoop), U8(255), I8(0), 1076 B(JumpLoop), U8(253), I8(0),
1077 B(Jump), U8(48), 1077 B(Jump), U8(48),
1078 B(Star), R(13), 1078 B(Star), R(13),
1079 B(Ldar), R(closure), 1079 B(Ldar), R(closure),
1080 B(CreateCatchContext), R(13), U8(12), U8(13), 1080 B(CreateCatchContext), R(13), U8(12), U8(13),
1081 B(Star), R(12), 1081 B(Star), R(12),
1082 B(LdaTheHole), 1082 B(LdaTheHole),
1083 B(SetPendingMessage), 1083 B(SetPendingMessage),
1084 B(Ldar), R(12), 1084 B(Ldar), R(12),
1085 B(PushContext), R(2), 1085 B(PushContext), R(2),
1086 B(LdaContextSlot), R(1), U8(8), U8(0), 1086 B(LdaContextSlot), R(1), U8(8), U8(0),
(...skipping 26 matching lines...) Expand all
1113 B(LdaNamedProperty), R(12), U8(14), U8(24), 1113 B(LdaNamedProperty), R(12), U8(14), U8(24),
1114 B(StaContextSlot), R(1), U8(12), U8(0), 1114 B(StaContextSlot), R(1), U8(12), U8(0),
1115 B(LdaContextSlot), R(1), U8(12), U8(0), 1115 B(LdaContextSlot), R(1), U8(12), U8(0),
1116 B(TestUndetectable), 1116 B(TestUndetectable),
1117 B(JumpIfFalse), U8(4), 1117 B(JumpIfFalse), U8(4),
1118 B(JumpConstant), U8(17), 1118 B(JumpConstant), U8(17),
1119 B(LdaContextSlot), R(1), U8(8), U8(0), 1119 B(LdaContextSlot), R(1), U8(8), U8(0),
1120 B(Star), R(12), 1120 B(Star), R(12),
1121 B(LdaSmi), I8(1), 1121 B(LdaSmi), I8(1),
1122 B(TestEqualStrict), R(12), U8(27), 1122 B(TestEqualStrict), R(12), U8(27),
1123 B(JumpIfFalse), U8(177), 1123 B(JumpIfFalse), U8(175),
1124 B(LdaContextSlot), R(1), U8(12), U8(0), 1124 B(LdaContextSlot), R(1), U8(12), U8(0),
1125 B(TestTypeOf), U8(5), 1125 B(TestTypeOf), U8(5),
1126 B(JumpIfFalse), U8(4), 1126 B(JumpIfFalse), U8(4),
1127 B(Jump), U8(18), 1127 B(Jump), U8(18),
1128 B(Wide), B(LdaSmi), I16(130), 1128 B(Wide), B(LdaSmi), I16(130),
1129 B(Star), R(12), 1129 B(Star), R(12),
1130 B(LdaConstant), U8(15), 1130 B(LdaConstant), U8(15),
1131 B(Star), R(13), 1131 B(Star), R(13),
1132 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), 1132 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
1133 B(Throw), 1133 B(Throw),
(...skipping 16 matching lines...) Expand all
1150 B(Star), R(17), 1150 B(Star), R(17),
1151 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) , 1151 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) ,
1152 B(LdaContextSlot), R(1), U8(10), U8(0), 1152 B(LdaContextSlot), R(1), U8(10), U8(0),
1153 B(Star), R(14), 1153 B(Star), R(14),
1154 B(LdaSmi), I8(1), 1154 B(LdaSmi), I8(1),
1155 B(SuspendGenerator), R(13), U8(2), 1155 B(SuspendGenerator), R(13), U8(2),
1156 B(Ldar), R(14), 1156 B(Ldar), R(14),
1157 /* 114 S> */ B(Return), 1157 /* 114 S> */ B(Return),
1158 B(LdaSmi), I8(-2), 1158 B(LdaSmi), I8(-2),
1159 B(Star), R(3), 1159 B(Star), R(3),
1160 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1), 1160 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
1161 B(Star), R(14), 1161 B(Star), R(14),
1162 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1), 1162 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
1163 B(Star), R(15), 1163 B(Star), R(15),
1164 B(LdaZero), 1164 B(LdaZero),
1165 B(TestEqualStrictNoFeedback), R(15), 1165 B(TestEqualStrictNoFeedback), R(15),
1166 B(JumpIfTrue), U8(36), 1166 B(JumpIfTrue), U8(36),
1167 B(LdaSmi), I8(2), 1167 B(LdaSmi), I8(2),
1168 B(TestEqualStrictNoFeedback), R(15), 1168 B(TestEqualStrictNoFeedback), R(15),
1169 B(JumpIfTrue), U8(27), 1169 B(JumpIfTrue), U8(27),
1170 B(LdaTrue), 1170 B(LdaTrue),
1171 B(Star), R(17), 1171 B(Star), R(17),
1172 B(Mov), R(14), R(16), 1172 B(Mov), R(14), R(16),
(...skipping 12 matching lines...) Expand all
1185 B(Jump), U8(20), 1185 B(Jump), U8(20),
1186 B(Star), R(13), 1186 B(Star), R(13),
1187 B(Ldar), R(closure), 1187 B(Ldar), R(closure),
1188 B(CreateCatchContext), R(13), U8(12), U8(16), 1188 B(CreateCatchContext), R(13), U8(12), U8(16),
1189 B(Star), R(12), 1189 B(Star), R(12),
1190 B(LdaTheHole), 1190 B(LdaTheHole),
1191 B(SetPendingMessage), 1191 B(SetPendingMessage),
1192 B(Ldar), R(12), 1192 B(Ldar), R(12),
1193 B(PushContext), R(2), 1193 B(PushContext), R(2),
1194 B(PopContext), R(2), 1194 B(PopContext), R(2),
1195 B(Jump), U8(155), 1195 B(Jump), U8(153),
1196 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 1196 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
1197 B(Star), R(12), 1197 B(Star), R(12),
1198 B(LdaContextSlot), R(1), U8(12), U8(0), 1198 B(LdaContextSlot), R(1), U8(12), U8(0),
1199 B(Star), R(13), 1199 B(Star), R(13),
1200 B(LdaContextSlot), R(1), U8(6), U8(0), 1200 B(LdaContextSlot), R(1), U8(6), U8(0),
1201 B(Star), R(14), 1201 B(Star), R(14),
1202 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), 1202 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
1203 B(StaContextSlot), R(1), U8(15), U8(0), 1203 B(StaContextSlot), R(1), U8(15), U8(0),
1204 B(LdaUndefined), 1204 B(LdaUndefined),
1205 B(Star), R(13), 1205 B(Star), R(13),
1206 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 1206 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
1207 B(Star), R(14), 1207 B(Star), R(14),
1208 B(LdaContextSlot), R(1), U8(15), U8(0), 1208 B(LdaContextSlot), R(1), U8(15), U8(0),
1209 B(Star), R(15), 1209 B(Star), R(15),
1210 B(LdaContextSlot), R(1), U8(10), U8(0), 1210 B(LdaContextSlot), R(1), U8(10), U8(0),
1211 B(Star), R(16), 1211 B(Star), R(16),
1212 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4), 1212 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4),
1213 B(LdaContextSlot), R(1), U8(10), U8(0), 1213 B(LdaContextSlot), R(1), U8(10), U8(0),
1214 B(Star), R(13), 1214 B(Star), R(13),
1215 B(LdaSmi), I8(2), 1215 B(LdaSmi), I8(2),
1216 B(SuspendGenerator), R(12), U8(2), 1216 B(SuspendGenerator), R(12), U8(2),
1217 B(Ldar), R(13), 1217 B(Ldar), R(13),
1218 /* 114 S> */ B(Return), 1218 /* 114 S> */ B(Return),
1219 B(LdaSmi), I8(-2), 1219 B(LdaSmi), I8(-2),
1220 B(Star), R(3), 1220 B(Star), R(3),
1221 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1), 1221 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1),
1222 B(Star), R(13), 1222 B(Star), R(13),
1223 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1), 1223 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(12) , U8(1),
1224 B(Star), R(14), 1224 B(Star), R(14),
1225 B(LdaZero), 1225 B(LdaZero),
1226 B(TestEqualStrictNoFeedback), R(14), 1226 B(TestEqualStrictNoFeedback), R(14),
1227 B(JumpIfTrue), U8(36), 1227 B(JumpIfTrue), U8(36),
1228 B(LdaSmi), I8(2), 1228 B(LdaSmi), I8(2),
1229 B(TestEqualStrictNoFeedback), R(14), 1229 B(TestEqualStrictNoFeedback), R(14),
1230 B(JumpIfTrue), U8(27), 1230 B(JumpIfTrue), U8(27),
1231 B(LdaTrue), 1231 B(LdaTrue),
1232 B(Star), R(16), 1232 B(Star), R(16),
1233 B(Mov), R(13), R(15), 1233 B(Mov), R(13), R(15),
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 B(Jump), U8(8), 1328 B(Jump), U8(8),
1329 B(Ldar), R(6), 1329 B(Ldar), R(6),
1330 /* 114 S> */ B(Return), 1330 /* 114 S> */ B(Return),
1331 B(Ldar), R(6), 1331 B(Ldar), R(6),
1332 B(ReThrow), 1332 B(ReThrow),
1333 B(LdaUndefined), 1333 B(LdaUndefined),
1334 /* 114 S> */ B(Return), 1334 /* 114 S> */ B(Return),
1335 ] 1335 ]
1336 constant pool: [ 1336 constant pool: [
1337 Smi [116], 1337 Smi [116],
1338 Smi [580], 1338 Smi [578],
1339 Smi [726], 1339 Smi [722],
1340 FIXED_ARRAY_TYPE, 1340 FIXED_ARRAY_TYPE,
1341 TUPLE2_TYPE, 1341 TUPLE2_TYPE,
1342 SYMBOL_TYPE, 1342 SYMBOL_TYPE,
1343 SYMBOL_TYPE, 1343 SYMBOL_TYPE,
1344 Smi [83], 1344 Smi [83],
1345 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1345 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1346 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1346 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1347 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1347 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1348 FIXED_ARRAY_TYPE, 1348 FIXED_ARRAY_TYPE,
1349 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1349 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1350 FIXED_ARRAY_TYPE, 1350 FIXED_ARRAY_TYPE,
1351 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1351 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1352 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1352 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1353 FIXED_ARRAY_TYPE, 1353 FIXED_ARRAY_TYPE,
1354 Smi [343], 1354 Smi [339],
1355 Smi [366], 1355 Smi [362],
1356 Smi [6], 1356 Smi [6],
1357 Smi [22], 1357 Smi [22],
1358 FIXED_ARRAY_TYPE, 1358 FIXED_ARRAY_TYPE,
1359 Smi [306], 1359 Smi [304],
1360 Smi [6], 1360 Smi [6],
1361 Smi [9], 1361 Smi [9],
1362 ] 1362 ]
1363 handlers: [ 1363 handlers: [
1364 [61, 941, 947], 1364 [60, 934, 940],
1365 [64, 888, 890], 1365 [63, 881, 883],
1366 [81, 437, 443], 1366 [80, 434, 440],
1367 [84, 389, 391], 1367 [83, 386, 388],
1368 [530, 654, 656], 1368 [527, 649, 651],
1369 ] 1369 ]
1370 1370
1371 --- 1371 ---
1372 snippet: " 1372 snippet: "
1373 async function f() { 1373 async function f() {
1374 var x = { 'a': 1, 'b': 2 }; 1374 var x = { 'a': 1, 'b': 2 };
1375 for (x['a'] of [1,2,3]) { return x['a']; } 1375 for (x['a'] of [1,2,3]) { return x['a']; }
1376 } 1376 }
1377 f(); 1377 f();
1378 " 1378 "
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 Smi [26], 1630 Smi [26],
1631 ] 1631 ]
1632 handlers: [ 1632 handlers: [
1633 [17, 445, 451], 1633 [17, 445, 451],
1634 [20, 391, 393], 1634 [20, 391, 393],
1635 [35, 195, 201], 1635 [35, 195, 201],
1636 [38, 147, 149], 1636 [38, 147, 149],
1637 [276, 288, 290], 1637 [276, 288, 290],
1638 ] 1638 ]
1639 1639
OLDNEW
« no previous file with comments | « src/runtime/runtime-generator.cc ('k') | test/cctest/interpreter/bytecode_expectations/ForOfLoop.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698