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

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

Issue 2811183005: Do not use new struct type where unnecessary. (Closed)
Patch Set: Created 3 years, 8 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 class A { constructor(...args) { this.args = args; } } 10 class A { constructor(...args) { this.args = args; } }
(...skipping 26 matching lines...) Expand all
37 B(Star), R(2), 37 B(Star), R(2),
38 /* 89 S> */ B(CreateArrayLiteral), U8(1), U8(5), U8(9), 38 /* 89 S> */ B(CreateArrayLiteral), U8(1), U8(5), U8(9),
39 B(Star), R(4), 39 B(Star), R(4),
40 B(Ldar), R(2), 40 B(Ldar), R(2),
41 /* 89 E> */ B(ConstructWithSpread), R(2), R(4), U8(1), 41 /* 89 E> */ B(ConstructWithSpread), R(2), R(4), U8(1),
42 B(LdaUndefined), 42 B(LdaUndefined),
43 /* 110 S> */ B(Return), 43 /* 110 S> */ B(Return),
44 ] 44 ]
45 constant pool: [ 45 constant pool: [
46 SHARED_FUNCTION_INFO_TYPE, 46 SHARED_FUNCTION_INFO_TYPE,
47 CONSTANT_ELEMENTS_PAIR_TYPE, 47 TUPLE2_TYPE,
48 ] 48 ]
49 handlers: [ 49 handlers: [
50 ] 50 ]
51 51
52 --- 52 ---
53 snippet: " 53 snippet: "
54 class A { constructor(...args) { this.args = args; } } 54 class A { constructor(...args) { this.args = args; } }
55 new A(0, ...[1, 2, 3]); 55 new A(0, ...[1, 2, 3]);
56 " 56 "
57 frame size: 8 57 frame size: 8
(...skipping 25 matching lines...) Expand all
83 B(Star), R(4), 83 B(Star), R(4),
84 B(CreateArrayLiteral), U8(1), U8(5), U8(9), 84 B(CreateArrayLiteral), U8(1), U8(5), U8(9),
85 B(Star), R(5), 85 B(Star), R(5),
86 B(Ldar), R(2), 86 B(Ldar), R(2),
87 /* 89 E> */ B(ConstructWithSpread), R(2), R(4), U8(2), 87 /* 89 E> */ B(ConstructWithSpread), R(2), R(4), U8(2),
88 B(LdaUndefined), 88 B(LdaUndefined),
89 /* 113 S> */ B(Return), 89 /* 113 S> */ B(Return),
90 ] 90 ]
91 constant pool: [ 91 constant pool: [
92 SHARED_FUNCTION_INFO_TYPE, 92 SHARED_FUNCTION_INFO_TYPE,
93 CONSTANT_ELEMENTS_PAIR_TYPE, 93 TUPLE2_TYPE,
94 ] 94 ]
95 handlers: [ 95 handlers: [
96 ] 96 ]
97 97
98 --- 98 ---
99 snippet: " 99 snippet: "
100 class A { constructor(...args) { this.args = args; } } 100 class A { constructor(...args) { this.args = args; } }
101 new A(0, ...[1, 2, 3], 4); 101 new A(0, ...[1, 2, 3], 4);
102 " 102 "
103 frame size: 9 103 frame size: 9
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 B(Star), R(8), 141 B(Star), R(8),
142 B(CallJSRuntime), U8(%spread_arguments), R(5), U8(4), 142 B(CallJSRuntime), U8(%spread_arguments), R(5), U8(4),
143 B(Star), R(5), 143 B(Star), R(5),
144 B(Mov), R(1), R(4), 144 B(Mov), R(1), R(4),
145 B(CallJSRuntime), U8(%reflect_construct), R(3), U8(3), 145 B(CallJSRuntime), U8(%reflect_construct), R(3), U8(3),
146 B(LdaUndefined), 146 B(LdaUndefined),
147 /* 116 S> */ B(Return), 147 /* 116 S> */ B(Return),
148 ] 148 ]
149 constant pool: [ 149 constant pool: [
150 SHARED_FUNCTION_INFO_TYPE, 150 SHARED_FUNCTION_INFO_TYPE,
151 CONSTANT_ELEMENTS_PAIR_TYPE, 151 TUPLE2_TYPE,
152 CONSTANT_ELEMENTS_PAIR_TYPE, 152 TUPLE2_TYPE,
153 CONSTANT_ELEMENTS_PAIR_TYPE, 153 TUPLE2_TYPE,
154 ] 154 ]
155 handlers: [ 155 handlers: [
156 ] 156 ]
157 157
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698