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

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

Issue 2655853010: [TypeFeedbackVector] Combine the literals array and the feedback vector. (Closed)
Patch Set: more comments. Created 3 years, 10 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: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 return [ 1, 2 ]; 10 return [ 1, 2 ];
11 " 11 "
12 frame size: 0 12 frame size: 0
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 6 14 bytecode array length: 6
15 bytecodes: [ 15 bytecodes: [
16 /* 30 E> */ B(StackCheck), 16 /* 30 E> */ B(StackCheck),
17 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), 17 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(9),
18 /* 51 S> */ B(Return), 18 /* 51 S> */ B(Return),
19 ] 19 ]
20 constant pool: [ 20 constant pool: [
21 CONSTANT_ELEMENTS_PAIR_TYPE, 21 CONSTANT_ELEMENTS_PAIR_TYPE,
22 ] 22 ]
23 handlers: [ 23 handlers: [
24 ] 24 ]
25 25
26 --- 26 ---
27 snippet: " 27 snippet: "
28 var a = 1; return [ a, a + 1 ]; 28 var a = 1; return [ a, a + 1 ];
29 " 29 "
30 frame size: 3 30 frame size: 3
31 parameter count: 1 31 parameter count: 1
32 bytecode array length: 35 32 bytecode array length: 35
33 bytecodes: [ 33 bytecodes: [
34 /* 30 E> */ B(StackCheck), 34 /* 30 E> */ B(StackCheck),
35 /* 42 S> */ B(LdaSmi), I8(1), 35 /* 42 S> */ B(LdaSmi), I8(1),
36 B(Star), R(0), 36 B(Star), R(0),
37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), 37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(3), U8(9),
38 B(Star), R(2), 38 B(Star), R(2),
39 B(LdaZero), 39 B(LdaZero),
40 B(Star), R(1), 40 B(Star), R(1),
41 B(Ldar), R(0), 41 B(Ldar), R(0),
42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(3), 42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(4),
43 B(LdaSmi), I8(1), 43 B(LdaSmi), I8(1),
44 B(Star), R(1), 44 B(Star), R(1),
45 /* 59 E> */ B(AddSmi), I8(1), R(0), U8(2), 45 /* 59 E> */ B(AddSmi), I8(1), R(0), U8(2),
46 B(StaKeyedPropertySloppy), R(2), R(1), U8(3), 46 B(StaKeyedPropertySloppy), R(2), R(1), U8(4),
47 B(Ldar), R(2), 47 B(Ldar), R(2),
48 /* 66 S> */ B(Return), 48 /* 66 S> */ B(Return),
49 ] 49 ]
50 constant pool: [ 50 constant pool: [
51 CONSTANT_ELEMENTS_PAIR_TYPE, 51 CONSTANT_ELEMENTS_PAIR_TYPE,
52 ] 52 ]
53 handlers: [ 53 handlers: [
54 ] 54 ]
55 55
56 --- 56 ---
57 snippet: " 57 snippet: "
58 return [ [ 1, 2 ], [ 3 ] ]; 58 return [ [ 1, 2 ], [ 3 ] ];
59 " 59 "
60 frame size: 0 60 frame size: 0
61 parameter count: 1 61 parameter count: 1
62 bytecode array length: 6 62 bytecode array length: 6
63 bytecodes: [ 63 bytecodes: [
64 /* 30 E> */ B(StackCheck), 64 /* 30 E> */ B(StackCheck),
65 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(0), 65 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(4), U8(0),
66 /* 62 S> */ B(Return), 66 /* 62 S> */ B(Return),
67 ] 67 ]
68 constant pool: [ 68 constant pool: [
69 CONSTANT_ELEMENTS_PAIR_TYPE, 69 CONSTANT_ELEMENTS_PAIR_TYPE,
70 ] 70 ]
71 handlers: [ 71 handlers: [
72 ] 72 ]
73 73
74 --- 74 ---
75 snippet: " 75 snippet: "
76 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; 76 var a = 1; return [ [ a, 2 ], [ a + 2 ] ];
77 " 77 "
78 frame size: 5 78 frame size: 5
79 parameter count: 1 79 parameter count: 1
80 bytecode array length: 65 80 bytecode array length: 65
81 bytecodes: [ 81 bytecodes: [
82 /* 30 E> */ B(StackCheck), 82 /* 30 E> */ B(StackCheck),
83 /* 42 S> */ B(LdaSmi), I8(1), 83 /* 42 S> */ B(LdaSmi), I8(1),
84 B(Star), R(0), 84 B(Star), R(0),
85 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(0), 85 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(9), U8(0),
86 B(Star), R(2), 86 B(Star), R(2),
87 B(LdaZero), 87 B(LdaZero),
88 B(Star), R(1), 88 B(Star), R(1),
89 B(CreateArrayLiteral), U8(1), U8(0), U8(9), 89 B(CreateArrayLiteral), U8(1), U8(2), U8(9),
90 B(Star), R(4), 90 B(Star), R(4),
91 B(LdaZero), 91 B(LdaZero),
92 B(Star), R(3), 92 B(Star), R(3),
93 B(Ldar), R(0), 93 B(Ldar), R(0),
94 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(2), 94 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(3),
95 B(Ldar), R(4), 95 B(Ldar), R(4),
96 B(StaKeyedPropertySloppy), R(2), R(1), U8(7), 96 B(StaKeyedPropertySloppy), R(2), R(1), U8(10),
97 B(LdaSmi), I8(1), 97 B(LdaSmi), I8(1),
98 B(Star), R(1), 98 B(Star), R(1),
99 B(CreateArrayLiteral), U8(2), U8(1), U8(9), 99 B(CreateArrayLiteral), U8(2), U8(6), U8(9),
100 B(Star), R(4), 100 B(Star), R(4),
101 B(LdaZero), 101 B(LdaZero),
102 B(Star), R(3), 102 B(Star), R(3),
103 /* 68 E> */ B(AddSmi), I8(2), R(0), U8(4), 103 /* 68 E> */ B(AddSmi), I8(2), R(0), U8(5),
104 B(StaKeyedPropertySloppy), R(4), R(3), U8(5), 104 B(StaKeyedPropertySloppy), R(4), R(3), U8(7),
105 B(Ldar), R(4), 105 B(Ldar), R(4),
106 B(StaKeyedPropertySloppy), R(2), R(1), U8(7), 106 B(StaKeyedPropertySloppy), R(2), R(1), U8(10),
107 B(Ldar), R(2), 107 B(Ldar), R(2),
108 /* 77 S> */ B(Return), 108 /* 77 S> */ B(Return),
109 ] 109 ]
110 constant pool: [ 110 constant pool: [
111 CONSTANT_ELEMENTS_PAIR_TYPE, 111 CONSTANT_ELEMENTS_PAIR_TYPE,
112 CONSTANT_ELEMENTS_PAIR_TYPE, 112 CONSTANT_ELEMENTS_PAIR_TYPE,
113 CONSTANT_ELEMENTS_PAIR_TYPE, 113 CONSTANT_ELEMENTS_PAIR_TYPE,
114 ] 114 ]
115 handlers: [ 115 handlers: [
116 ] 116 ]
117 117
OLDNEW
« no previous file with comments | « test/cctest/heap/test-heap.cc ('k') | test/cctest/interpreter/bytecode_expectations/ArrayLiteralsWide.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698