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

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

Issue 1985033002: [Interpreter] Change LogicalNot to ToBooleanLogicalNot and add non-ToBoolean version. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 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 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 19 matching lines...) Expand all
30 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1), 30 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1),
31 /* 48 E> */ B(Star), R(1), 31 /* 48 E> */ B(Star), R(1),
32 /* 45 S> */ B(Ldar), R(1), 32 /* 45 S> */ B(Ldar), R(1),
33 B(Star), R(15), 33 B(Star), R(15),
34 B(LoadIC), R(15), U8(2), U8(7), 34 B(LoadIC), R(15), U8(2), U8(7),
35 B(Star), R(14), 35 B(Star), R(14),
36 /* 45 E> */ B(Call), R(14), R(15), U8(1), U8(5), 36 /* 45 E> */ B(Call), R(14), R(15), U8(1), U8(5),
37 /* 45 E> */ B(Star), R(2), 37 /* 45 E> */ B(Star), R(2),
38 B(Star), R(13), 38 B(Star), R(13),
39 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1), 39 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1),
40 B(LogicalNot), 40 B(ToBooleanLogicalNot),
41 B(JumpIfFalse), U8(11), 41 B(JumpIfFalse), U8(11),
42 B(Ldar), R(2), 42 B(Ldar), R(2),
43 B(Star), R(13), 43 B(Star), R(13),
44 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1), 44 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1),
45 B(Ldar), R(2), 45 B(Ldar), R(2),
46 B(Star), R(13), 46 B(Star), R(13),
47 B(LoadIC), R(13), U8(3), U8(9), 47 B(LoadIC), R(13), U8(3), U8(9),
48 B(JumpIfToBooleanTrue), U8(28), 48 B(JumpIfToBooleanTrue), U8(28),
49 B(LdaSmi), U8(2), 49 B(LdaSmi), U8(2),
50 B(Star), R(3), 50 B(Star), R(3),
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 B(Star), R(11), 89 B(Star), R(11),
90 B(Ldar), R(3), 90 B(Ldar), R(3),
91 B(Star), R(12), 91 B(Star), R(12),
92 B(LdaZero), 92 B(LdaZero),
93 B(TestEqualStrict), R(12), 93 B(TestEqualStrict), R(12),
94 B(JumpIfTrue), U8(9), 94 B(JumpIfTrue), U8(9),
95 B(Ldar), R(1), 95 B(Ldar), R(1),
96 B(Star), R(12), 96 B(Star), R(12),
97 B(LdaUndefined), 97 B(LdaUndefined),
98 B(TestEqualStrict), R(12), 98 B(TestEqualStrict), R(12),
99 B(LogicalNot), 99 B(ToBooleanLogicalNot),
100 B(JumpIfFalseConstant), U8(9), 100 B(JumpIfFalseConstant), U8(9),
101 B(Ldar), R(1), 101 B(Ldar), R(1),
102 B(Star), R(12), 102 B(Star), R(12),
103 B(LoadIC), R(12), U8(6), U8(13), 103 B(LoadIC), R(12), U8(6), U8(13),
104 B(Star), R(5), 104 B(Star), R(5),
105 B(Star), R(12), 105 B(Star), R(12),
106 B(LdaNull), 106 B(LdaNull),
107 B(TestEqual), R(12), 107 B(TestEqual), R(12),
108 B(JumpIfFalse), U8(4), 108 B(JumpIfFalse), U8(4),
109 B(Jump), U8(124), 109 B(Jump), U8(124),
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 /* 68 E> */ B(Call), R(14), R(15), U8(1), U8(1), 211 /* 68 E> */ B(Call), R(14), R(15), U8(1), U8(1),
212 /* 68 E> */ B(Star), R(1), 212 /* 68 E> */ B(Star), R(1),
213 /* 65 S> */ B(Ldar), R(1), 213 /* 65 S> */ B(Ldar), R(1),
214 B(Star), R(16), 214 B(Star), R(16),
215 B(LoadIC), R(16), U8(2), U8(7), 215 B(LoadIC), R(16), U8(2), U8(7),
216 B(Star), R(15), 216 B(Star), R(15),
217 /* 65 E> */ B(Call), R(15), R(16), U8(1), U8(5), 217 /* 65 E> */ B(Call), R(15), R(16), U8(1), U8(5),
218 /* 65 E> */ B(Star), R(2), 218 /* 65 E> */ B(Star), R(2),
219 B(Star), R(14), 219 B(Star), R(14),
220 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(14), U8(1), 220 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(14), U8(1),
221 B(LogicalNot), 221 B(ToBooleanLogicalNot),
222 B(JumpIfFalse), U8(11), 222 B(JumpIfFalse), U8(11),
223 B(Ldar), R(2), 223 B(Ldar), R(2),
224 B(Star), R(14), 224 B(Star), R(14),
225 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (14), U8(1), 225 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (14), U8(1),
226 B(Ldar), R(2), 226 B(Ldar), R(2),
227 B(Star), R(14), 227 B(Star), R(14),
228 B(LoadIC), R(14), U8(3), U8(9), 228 B(LoadIC), R(14), U8(3), U8(9),
229 B(JumpIfToBooleanTrue), U8(32), 229 B(JumpIfToBooleanTrue), U8(32),
230 B(LdaSmi), U8(2), 230 B(LdaSmi), U8(2),
231 B(Star), R(3), 231 B(Star), R(3),
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 B(Star), R(12), 272 B(Star), R(12),
273 B(Ldar), R(3), 273 B(Ldar), R(3),
274 B(Star), R(13), 274 B(Star), R(13),
275 B(LdaZero), 275 B(LdaZero),
276 B(TestEqualStrict), R(13), 276 B(TestEqualStrict), R(13),
277 B(JumpIfTrue), U8(9), 277 B(JumpIfTrue), U8(9),
278 B(Ldar), R(1), 278 B(Ldar), R(1),
279 B(Star), R(13), 279 B(Star), R(13),
280 B(LdaUndefined), 280 B(LdaUndefined),
281 B(TestEqualStrict), R(13), 281 B(TestEqualStrict), R(13),
282 B(LogicalNot), 282 B(ToBooleanLogicalNot),
283 B(JumpIfFalseConstant), U8(9), 283 B(JumpIfFalseConstant), U8(9),
284 B(Ldar), R(1), 284 B(Ldar), R(1),
285 B(Star), R(13), 285 B(Star), R(13),
286 B(LoadIC), R(13), U8(6), U8(13), 286 B(LoadIC), R(13), U8(6), U8(13),
287 B(Star), R(5), 287 B(Star), R(5),
288 B(Star), R(13), 288 B(Star), R(13),
289 B(LdaNull), 289 B(LdaNull),
290 B(TestEqual), R(13), 290 B(TestEqual), R(13),
291 B(JumpIfFalse), U8(4), 291 B(JumpIfFalse), U8(4),
292 B(Jump), U8(124), 292 B(Jump), U8(124),
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1), 399 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1),
400 /* 48 E> */ B(Star), R(1), 400 /* 48 E> */ B(Star), R(1),
401 /* 45 S> */ B(Ldar), R(1), 401 /* 45 S> */ B(Ldar), R(1),
402 B(Star), R(15), 402 B(Star), R(15),
403 B(LoadIC), R(15), U8(2), U8(7), 403 B(LoadIC), R(15), U8(2), U8(7),
404 B(Star), R(14), 404 B(Star), R(14),
405 /* 45 E> */ B(Call), R(14), R(15), U8(1), U8(5), 405 /* 45 E> */ B(Call), R(14), R(15), U8(1), U8(5),
406 /* 45 E> */ B(Star), R(2), 406 /* 45 E> */ B(Star), R(2),
407 B(Star), R(13), 407 B(Star), R(13),
408 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1), 408 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1),
409 B(LogicalNot), 409 B(ToBooleanLogicalNot),
410 B(JumpIfFalse), U8(11), 410 B(JumpIfFalse), U8(11),
411 B(Ldar), R(2), 411 B(Ldar), R(2),
412 B(Star), R(13), 412 B(Star), R(13),
413 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1), 413 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1),
414 B(Ldar), R(2), 414 B(Ldar), R(2),
415 B(Star), R(13), 415 B(Star), R(13),
416 B(LoadIC), R(13), U8(3), U8(9), 416 B(LoadIC), R(13), U8(3), U8(9),
417 B(JumpIfToBooleanTrue), U8(50), 417 B(JumpIfToBooleanTrue), U8(50),
418 B(LdaSmi), U8(2), 418 B(LdaSmi), U8(2),
419 B(Star), R(3), 419 B(Star), R(3),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 B(Star), R(11), 469 B(Star), R(11),
470 B(Ldar), R(3), 470 B(Ldar), R(3),
471 B(Star), R(12), 471 B(Star), R(12),
472 B(LdaZero), 472 B(LdaZero),
473 B(TestEqualStrict), R(12), 473 B(TestEqualStrict), R(12),
474 B(JumpIfTrue), U8(9), 474 B(JumpIfTrue), U8(9),
475 B(Ldar), R(1), 475 B(Ldar), R(1),
476 B(Star), R(12), 476 B(Star), R(12),
477 B(LdaUndefined), 477 B(LdaUndefined),
478 B(TestEqualStrict), R(12), 478 B(TestEqualStrict), R(12),
479 B(LogicalNot), 479 B(ToBooleanLogicalNot),
480 B(JumpIfFalseConstant), U8(9), 480 B(JumpIfFalseConstant), U8(9),
481 B(Ldar), R(1), 481 B(Ldar), R(1),
482 B(Star), R(12), 482 B(Star), R(12),
483 B(LoadIC), R(12), U8(6), U8(13), 483 B(LoadIC), R(12), U8(6), U8(13),
484 B(Star), R(5), 484 B(Star), R(5),
485 B(Star), R(12), 485 B(Star), R(12),
486 B(LdaNull), 486 B(LdaNull),
487 B(TestEqual), R(12), 487 B(TestEqual), R(12),
488 B(JumpIfFalse), U8(4), 488 B(JumpIfFalse), U8(4),
489 B(Jump), U8(124), 489 B(Jump), U8(124),
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(1), 592 /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(1),
593 /* 77 E> */ B(Star), R(0), 593 /* 77 E> */ B(Star), R(0),
594 /* 74 S> */ B(Ldar), R(0), 594 /* 74 S> */ B(Ldar), R(0),
595 B(Star), R(14), 595 B(Star), R(14),
596 B(LoadIC), R(14), U8(3), U8(7), 596 B(LoadIC), R(14), U8(3), U8(7),
597 B(Star), R(13), 597 B(Star), R(13),
598 /* 74 E> */ B(Call), R(13), R(14), U8(1), U8(5), 598 /* 74 E> */ B(Call), R(13), R(14), U8(1), U8(5),
599 /* 74 E> */ B(Star), R(1), 599 /* 74 E> */ B(Star), R(1),
600 B(Star), R(12), 600 B(Star), R(12),
601 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1), 601 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1),
602 B(LogicalNot), 602 B(ToBooleanLogicalNot),
603 B(JumpIfFalse), U8(11), 603 B(JumpIfFalse), U8(11),
604 B(Ldar), R(1), 604 B(Ldar), R(1),
605 B(Star), R(12), 605 B(Star), R(12),
606 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 606 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
607 B(Ldar), R(1), 607 B(Ldar), R(1),
608 B(Star), R(12), 608 B(Star), R(12),
609 B(LoadIC), R(12), U8(4), U8(9), 609 B(LoadIC), R(12), U8(4), U8(9),
610 B(JumpIfToBooleanTrue), U8(42), 610 B(JumpIfToBooleanTrue), U8(42),
611 B(LdaSmi), U8(2), 611 B(LdaSmi), U8(2),
612 B(Star), R(2), 612 B(Star), R(2),
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 B(Star), R(10), 656 B(Star), R(10),
657 B(Ldar), R(2), 657 B(Ldar), R(2),
658 B(Star), R(11), 658 B(Star), R(11),
659 B(LdaZero), 659 B(LdaZero),
660 B(TestEqualStrict), R(11), 660 B(TestEqualStrict), R(11),
661 B(JumpIfTrue), U8(9), 661 B(JumpIfTrue), U8(9),
662 B(Ldar), R(0), 662 B(Ldar), R(0),
663 B(Star), R(11), 663 B(Star), R(11),
664 B(LdaUndefined), 664 B(LdaUndefined),
665 B(TestEqualStrict), R(11), 665 B(TestEqualStrict), R(11),
666 B(LogicalNot), 666 B(ToBooleanLogicalNot),
667 B(JumpIfFalseConstant), U8(11), 667 B(JumpIfFalseConstant), U8(11),
668 B(Ldar), R(0), 668 B(Ldar), R(0),
669 B(Star), R(11), 669 B(Star), R(11),
670 B(LoadIC), R(11), U8(8), U8(17), 670 B(LoadIC), R(11), U8(8), U8(17),
671 B(Star), R(4), 671 B(Star), R(4),
672 B(Star), R(11), 672 B(Star), R(11),
673 B(LdaNull), 673 B(LdaNull),
674 B(TestEqual), R(11), 674 B(TestEqual), R(11),
675 B(JumpIfFalse), U8(4), 675 B(JumpIfFalse), U8(4),
676 B(Jump), U8(124), 676 B(Jump), U8(124),
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 752 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
753 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 753 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
754 kInstanceTypeDontCare, 754 kInstanceTypeDontCare,
755 ] 755 ]
756 handlers: [ 756 handlers: [
757 [18, 174, 180], 757 [18, 174, 180],
758 [21, 127, 129], 758 [21, 127, 129],
759 [273, 286, 288], 759 [273, 286, 288],
760 ] 760 ]
761 761
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-assembler.h ('k') | test/cctest/interpreter/bytecode_expectations/Generators.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698