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

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

Issue 2164503005: [interpreter] Remove duped control scope in ForOfStatement. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix golden. Created 4 years, 5 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
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: no 8 wrap: no
9 test function name: f 9 test function name: f
10 ignition generators: yes 10 ignition generators: yes
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 [44, 221, 227], 258 [44, 221, 227],
259 ] 259 ]
260 260
261 --- 261 ---
262 snippet: " 262 snippet: "
263 function* f() { for (let x of [42]) yield x } 263 function* f() { for (let x of [42]) yield x }
264 f(); 264 f();
265 " 265 "
266 frame size: 18 266 frame size: 18
267 parameter count: 1 267 parameter count: 1
268 bytecode array length: 774 268 bytecode array length: 772
269 bytecodes: [ 269 bytecodes: [
270 B(Ldar), R(new_target), 270 B(Ldar), R(new_target),
271 B(JumpIfUndefined), U8(26), 271 B(JumpIfUndefined), U8(26),
272 B(ResumeGenerator), R(new_target), 272 B(ResumeGenerator), R(new_target),
273 B(Star), R(4), 273 B(Star), R(4),
274 B(LdaZero), 274 B(LdaZero),
275 B(TestEqualStrict), R(4), 275 B(TestEqualStrict), R(4),
276 B(JumpIfTrue), U8(62), 276 B(JumpIfTrue), U8(62),
277 B(LdaSmi), U8(1), 277 B(LdaSmi), U8(1),
278 B(TestEqualStrict), R(4), 278 B(TestEqualStrict), R(4),
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 B(Ldar), R(14), 392 B(Ldar), R(14),
393 /* 44 S> */ B(Return), 393 /* 44 S> */ B(Return),
394 B(LdaSmi), U8(-2), 394 B(LdaSmi), U8(-2),
395 B(Star), R(4), 395 B(Star), R(4),
396 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1), 396 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1),
397 B(Star), R(13), 397 B(Star), R(13),
398 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1), 398 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1),
399 B(Star), R(15), 399 B(Star), R(15),
400 B(LdaZero), 400 B(LdaZero),
401 B(TestEqualStrict), R(15), 401 B(TestEqualStrict), R(15),
402 B(JumpIfTrue), U8(45), 402 B(JumpIfTrue), U8(43),
403 B(LdaSmi), U8(2), 403 B(LdaSmi), U8(2),
404 B(TestEqualStrict), R(15), 404 B(TestEqualStrict), R(15),
405 B(JumpIfTrue), U8(36), 405 B(JumpIfTrue), U8(34),
406 B(Jump), U8(2), 406 B(Jump), U8(2),
407 B(LdaTrue), 407 B(LdaTrue),
408 B(Star), R(17), 408 B(Star), R(17),
409 B(Mov), R(13), R(16), 409 B(Mov), R(13), R(16),
410 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U 8(2), 410 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U 8(2),
411 B(PopContext), R(2), 411 B(PopContext), R(2),
412 B(PopContext), R(2), 412 B(PopContext), R(2),
413 B(PopContext), R(2), 413 B(PopContext), R(2),
414 B(PopContext), R(2), 414 B(PopContext), R(2),
415 B(PopContext), R(2), 415 B(PopContext), R(2),
416 B(PopContext), R(2), 416 B(PopContext), R(2),
417 B(PopContext), R(2),
418 B(Star), R(9), 417 B(Star), R(9),
419 B(LdaZero), 418 B(LdaZero),
420 B(Star), R(8), 419 B(Star), R(8),
421 B(Jump), U8(75), 420 B(Jump), U8(75),
422 B(Ldar), R(13), 421 B(Ldar), R(13),
423 /* 36 E> */ B(Throw), 422 /* 36 E> */ B(Throw),
424 B(Ldar), R(13), 423 B(Ldar), R(13),
425 B(PopContext), R(2), 424 B(PopContext), R(2),
426 B(LdaZero), 425 B(LdaZero),
427 B(StaContextSlot), R(1), U8(9), 426 B(StaContextSlot), R(1), U8(9),
428 B(Wide), B(Jump), U16(-225), 427 B(Wide), B(Jump), U16(-223),
429 B(Jump), U8(46), 428 B(Jump), U8(46),
430 B(Star), R(13), 429 B(Star), R(13),
431 B(LdaConstant), U8(11), 430 B(LdaConstant), U8(11),
432 B(Star), R(12), 431 B(Star), R(12),
433 B(Mov), R(closure), R(14), 432 B(Mov), R(closure), R(14),
434 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), 433 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3),
435 B(Star), R(11), 434 B(Star), R(11),
436 B(PushContext), R(2), 435 B(PushContext), R(2),
437 B(LdrContextSlot), R(0), U8(9), R(12), 436 B(LdrContextSlot), R(0), U8(9), R(12),
438 B(LdaSmi), U8(2), 437 B(LdaSmi), U8(2),
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 kInstanceTypeDontCare, 592 kInstanceTypeDontCare,
594 kInstanceTypeDontCare, 593 kInstanceTypeDontCare,
595 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 594 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 595 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
598 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
599 kInstanceTypeDontCare, 598 kInstanceTypeDontCare,
600 kInstanceTypeDontCare, 599 kInstanceTypeDontCare,
601 ] 600 ]
602 handlers: [ 601 handlers: [
603 [44, 693, 699], 602 [44, 691, 697],
604 [150, 447, 453], 603 [150, 445, 451],
605 [153, 401, 403], 604 [153, 399, 401],
606 [550, 562, 564], 605 [548, 560, 562],
607 ] 606 ]
608 607
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698