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

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

Issue 2310103002: [Interpreter] Remove constant pool type in tests (Closed)
Patch Set: Remove warning for pool type Created 4 years, 3 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: string
7 execute: yes 6 execute: yes
8 wrap: no 7 wrap: no
9 test function name: f 8 test function name: f
10 9
11 --- 10 ---
12 snippet: " 11 snippet: "
13 function f(a) { return a.name; } 12 function f(a) { return a.name; }
14 f({name : \"test\"}); 13 f({name : \"test\"});
15 " 14 "
16 frame size: 0 15 frame size: 0
17 parameter count: 2 16 parameter count: 2
18 bytecode array length: 7 17 bytecode array length: 7
19 bytecodes: [ 18 bytecodes: [
20 /* 10 E> */ B(StackCheck), 19 /* 10 E> */ B(StackCheck),
21 /* 16 S> */ B(Nop), 20 /* 16 S> */ B(Nop),
22 /* 24 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(1), 21 /* 24 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(1),
23 /* 31 S> */ B(Return), 22 /* 31 S> */ B(Return),
24 ] 23 ]
25 constant pool: [ 24 constant pool: [
26 "name", 25 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
27 ] 26 ]
28 handlers: [ 27 handlers: [
29 ] 28 ]
30 29
31 --- 30 ---
32 snippet: " 31 snippet: "
33 function f(a) { return a[\"key\"]; } 32 function f(a) { return a[\"key\"]; }
34 f({key : \"test\"}); 33 f({key : \"test\"});
35 " 34 "
36 frame size: 0 35 frame size: 0
37 parameter count: 2 36 parameter count: 2
38 bytecode array length: 7 37 bytecode array length: 7
39 bytecodes: [ 38 bytecodes: [
40 /* 10 E> */ B(StackCheck), 39 /* 10 E> */ B(StackCheck),
41 /* 16 S> */ B(Nop), 40 /* 16 S> */ B(Nop),
42 /* 24 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(1), 41 /* 24 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(1),
43 /* 33 S> */ B(Return), 42 /* 33 S> */ B(Return),
44 ] 43 ]
45 constant pool: [ 44 constant pool: [
46 "key", 45 ONE_BYTE_INTERNALIZED_STRING_TYPE ["key"],
47 ] 46 ]
48 handlers: [ 47 handlers: [
49 ] 48 ]
50 49
51 --- 50 ---
52 snippet: " 51 snippet: "
53 function f(a) { return a[100]; } 52 function f(a) { return a[100]; }
54 f({100 : \"test\"}); 53 f({100 : \"test\"});
55 " 54 "
56 frame size: 0 55 frame size: 0
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 bytecodes: [ 96 bytecodes: [
98 /* 10 E> */ B(StackCheck), 97 /* 10 E> */ B(StackCheck),
99 /* 25 S> */ B(Nop), 98 /* 25 S> */ B(Nop),
100 /* 25 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(1), R(0), 99 /* 25 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(1), R(0),
101 B(Ldar), R(0), 100 B(Ldar), R(0),
102 /* 32 S> */ B(LdaSmi), U8(-124), 101 /* 32 S> */ B(LdaSmi), U8(-124),
103 /* 40 E> */ B(LdaKeyedProperty), R(arg0), U8(3), 102 /* 40 E> */ B(LdaKeyedProperty), R(arg0), U8(3),
104 /* 48 S> */ B(Return), 103 /* 48 S> */ B(Return),
105 ] 104 ]
106 constant pool: [ 105 constant pool: [
107 "name", 106 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
108 ] 107 ]
109 handlers: [ 108 handlers: [
110 ] 109 ]
111 110
112 --- 111 ---
113 snippet: " 112 snippet: "
114 function f(a) { 113 function f(a) {
115 var b; 114 var b;
116 b = a.name; 115 b = a.name;
117 b = a.name; 116 b = a.name;
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 /* 1796 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(253), R(0), 631 /* 1796 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(253), R(0),
633 B(Ldar), R(0), 632 B(Ldar), R(0),
634 /* 1805 S> */ B(Nop), 633 /* 1805 S> */ B(Nop),
635 /* 1810 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(255), R(0), 634 /* 1810 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(255), R(0),
636 B(Ldar), R(0), 635 B(Ldar), R(0),
637 /* 1819 S> */ B(Nop), 636 /* 1819 S> */ B(Nop),
638 /* 1827 E> */ B(Wide), B(LdaNamedProperty), R16(arg0), U16(0), U16(257), 637 /* 1827 E> */ B(Wide), B(LdaNamedProperty), R16(arg0), U16(0), U16(257),
639 /* 1834 S> */ B(Return), 638 /* 1834 S> */ B(Return),
640 ] 639 ]
641 constant pool: [ 640 constant pool: [
642 "name", 641 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
643 ] 642 ]
644 handlers: [ 643 handlers: [
645 ] 644 ]
646 645
647 --- 646 ---
648 snippet: " 647 snippet: "
649 function f(a, b) { 648 function f(a, b) {
650 var c; 649 var c;
651 c = a[b]; 650 c = a[b];
652 c = a[b]; 651 c = a[b];
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
1171 B(Ldar), R(0), 1170 B(Ldar), R(0),
1172 /* 1566 S> */ B(Ldar), R(arg1), 1171 /* 1566 S> */ B(Ldar), R(arg1),
1173 /* 1575 E> */ B(Wide), B(LdaKeyedProperty), R16(arg0), U16(257), 1172 /* 1575 E> */ B(Wide), B(LdaKeyedProperty), R16(arg0), U16(257),
1174 /* 1579 S> */ B(Return), 1173 /* 1579 S> */ B(Return),
1175 ] 1174 ]
1176 constant pool: [ 1175 constant pool: [
1177 ] 1176 ]
1178 handlers: [ 1177 handlers: [
1179 ] 1178 ]
1180 1179
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698