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

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

Issue 2113613002: [Interpereter] Inline FastNewClosure into CreateClosure bytecode handler (Closed) Base URL: ssh://rmcilroy.lon.corp.google.com///usr/local/google/code/v8_full/v8@int_context
Patch Set: Rebaseline bytecode expectations 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 | « test/cctest/interpreter/bytecode_expectations/LetVariableContextSlot.golden ('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: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 snippet: " 100 snippet: "
101 return { func: function() { } }; 101 return { func: function() { } };
102 " 102 "
103 frame size: 1 103 frame size: 1
104 parameter count: 1 104 parameter count: 1
105 bytecode array length: 17 105 bytecode array length: 17
106 bytecodes: [ 106 bytecodes: [
107 /* 30 E> */ B(StackCheck), 107 /* 30 E> */ B(StackCheck),
108 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 108 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
109 B(Star), R(0), 109 B(Star), R(0),
110 B(CreateClosure), U8(1), U8(0), 110 B(CreateClosure), U8(1), U8(2),
111 B(StaNamedPropertySloppy), R(0), U8(2), U8(1), 111 B(StaNamedPropertySloppy), R(0), U8(2), U8(1),
112 B(Ldar), R(0), 112 B(Ldar), R(0),
113 /* 67 S> */ B(Return), 113 /* 67 S> */ B(Return),
114 ] 114 ]
115 constant pool: [ 115 constant pool: [
116 InstanceType::FIXED_ARRAY_TYPE, 116 InstanceType::FIXED_ARRAY_TYPE,
117 InstanceType::SHARED_FUNCTION_INFO_TYPE, 117 InstanceType::SHARED_FUNCTION_INFO_TYPE,
118 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 118 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
119 ] 119 ]
120 handlers: [ 120 handlers: [
121 ] 121 ]
122 122
123 --- 123 ---
124 snippet: " 124 snippet: "
125 return { func(a) { return a; } }; 125 return { func(a) { return a; } };
126 " 126 "
127 frame size: 1 127 frame size: 1
128 parameter count: 1 128 parameter count: 1
129 bytecode array length: 17 129 bytecode array length: 17
130 bytecodes: [ 130 bytecodes: [
131 /* 30 E> */ B(StackCheck), 131 /* 30 E> */ B(StackCheck),
132 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 132 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
133 B(Star), R(0), 133 B(Star), R(0),
134 B(CreateClosure), U8(1), U8(0), 134 B(CreateClosure), U8(1), U8(2),
135 B(StaNamedPropertySloppy), R(0), U8(2), U8(1), 135 B(StaNamedPropertySloppy), R(0), U8(2), U8(1),
136 B(Ldar), R(0), 136 B(Ldar), R(0),
137 /* 68 S> */ B(Return), 137 /* 68 S> */ B(Return),
138 ] 138 ]
139 constant pool: [ 139 constant pool: [
140 InstanceType::FIXED_ARRAY_TYPE, 140 InstanceType::FIXED_ARRAY_TYPE,
141 InstanceType::SHARED_FUNCTION_INFO_TYPE, 141 InstanceType::SHARED_FUNCTION_INFO_TYPE,
142 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 142 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
143 ] 143 ]
144 handlers: [ 144 handlers: [
145 ] 145 ]
146 146
147 --- 147 ---
148 snippet: " 148 snippet: "
149 return { get a() { return 2; } }; 149 return { get a() { return 2; } };
150 " 150 "
151 frame size: 6 151 frame size: 6
152 parameter count: 1 152 parameter count: 1
153 bytecode array length: 33 153 bytecode array length: 33
154 bytecodes: [ 154 bytecodes: [
155 /* 30 E> */ B(StackCheck), 155 /* 30 E> */ B(StackCheck),
156 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 156 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
157 B(Star), R(0), 157 B(Star), R(0),
158 B(LdaConstant), U8(1), 158 B(LdaConstant), U8(1),
159 B(Star), R(2), 159 B(Star), R(2),
160 B(CreateClosure), U8(2), U8(0), 160 B(CreateClosure), U8(2), U8(2),
161 B(Star), R(3), 161 B(Star), R(3),
162 B(LdaNull), 162 B(LdaNull),
163 B(Star), R(4), 163 B(Star), R(4),
164 B(LdaZero), 164 B(LdaZero),
165 B(Star), R(5), 165 B(Star), R(5),
166 B(Mov), R(0), R(1), 166 B(Mov), R(0), R(1),
167 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5), 167 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5),
168 B(Ldar), R(0), 168 B(Ldar), R(0),
169 /* 68 S> */ B(Return), 169 /* 68 S> */ B(Return),
170 ] 170 ]
(...skipping 11 matching lines...) Expand all
182 " 182 "
183 frame size: 6 183 frame size: 6
184 parameter count: 1 184 parameter count: 1
185 bytecode array length: 35 185 bytecode array length: 35
186 bytecodes: [ 186 bytecodes: [
187 /* 30 E> */ B(StackCheck), 187 /* 30 E> */ B(StackCheck),
188 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 188 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
189 B(Star), R(0), 189 B(Star), R(0),
190 B(LdaConstant), U8(1), 190 B(LdaConstant), U8(1),
191 B(Star), R(2), 191 B(Star), R(2),
192 B(CreateClosure), U8(2), U8(0), 192 B(CreateClosure), U8(2), U8(2),
193 B(Star), R(3), 193 B(Star), R(3),
194 B(CreateClosure), U8(3), U8(0), 194 B(CreateClosure), U8(3), U8(2),
195 B(Star), R(4), 195 B(Star), R(4),
196 B(LdaZero), 196 B(LdaZero),
197 B(Star), R(5), 197 B(Star), R(5),
198 B(Mov), R(0), R(1), 198 B(Mov), R(0), R(1),
199 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5), 199 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5),
200 B(Ldar), R(0), 200 B(Ldar), R(0),
201 /* 102 S> */ B(Return), 201 /* 102 S> */ B(Return),
202 ] 202 ]
203 constant pool: [ 203 constant pool: [
204 InstanceType::FIXED_ARRAY_TYPE, 204 InstanceType::FIXED_ARRAY_TYPE,
(...skipping 12 matching lines...) Expand all
217 parameter count: 1 217 parameter count: 1
218 bytecode array length: 33 218 bytecode array length: 33
219 bytecodes: [ 219 bytecodes: [
220 /* 30 E> */ B(StackCheck), 220 /* 30 E> */ B(StackCheck),
221 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 221 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
222 B(Star), R(0), 222 B(Star), R(0),
223 B(LdaConstant), U8(1), 223 B(LdaConstant), U8(1),
224 B(Star), R(2), 224 B(Star), R(2),
225 B(LdaNull), 225 B(LdaNull),
226 B(Star), R(3), 226 B(Star), R(3),
227 B(CreateClosure), U8(2), U8(0), 227 B(CreateClosure), U8(2), U8(2),
228 B(Star), R(4), 228 B(Star), R(4),
229 B(LdaZero), 229 B(LdaZero),
230 B(Star), R(5), 230 B(Star), R(5),
231 B(Mov), R(0), R(1), 231 B(Mov), R(0), R(1),
232 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5), 232 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5),
233 B(Ldar), R(0), 233 B(Ldar), R(0),
234 /* 74 S> */ B(Return), 234 /* 74 S> */ B(Return),
235 ] 235 ]
236 constant pool: [ 236 constant pool: [
237 InstanceType::FIXED_ARRAY_TYPE, 237 InstanceType::FIXED_ARRAY_TYPE,
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 B(LdaConstant), U8(2), 422 B(LdaConstant), U8(2),
423 B(Star), R(4), 423 B(Star), R(4),
424 B(LdaZero), 424 B(LdaZero),
425 B(Star), R(5), 425 B(Star), R(5),
426 B(LdaZero), 426 B(LdaZero),
427 B(Star), R(6), 427 B(Star), R(6),
428 B(Mov), R(1), R(2), 428 B(Mov), R(1), R(2),
429 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 429 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
430 B(LdaConstant), U8(3), 430 B(LdaConstant), U8(3),
431 B(Star), R(3), 431 B(Star), R(3),
432 B(CreateClosure), U8(4), U8(0), 432 B(CreateClosure), U8(4), U8(2),
433 B(Star), R(4), 433 B(Star), R(4),
434 B(LdaZero), 434 B(LdaZero),
435 B(Star), R(5), 435 B(Star), R(5),
436 B(Mov), R(1), R(2), 436 B(Mov), R(1), R(2),
437 B(CallRuntime), U16(Runtime::kDefineGetterPropertyUnchecked), R( 2), U8(4), 437 B(CallRuntime), U16(Runtime::kDefineGetterPropertyUnchecked), R( 2), U8(4),
438 B(LdaConstant), U8(3), 438 B(LdaConstant), U8(3),
439 B(Star), R(3), 439 B(Star), R(3),
440 B(CreateClosure), U8(5), U8(0), 440 B(CreateClosure), U8(5), U8(2),
441 B(Star), R(4), 441 B(Star), R(4),
442 B(LdaZero), 442 B(LdaZero),
443 B(Star), R(5), 443 B(Star), R(5),
444 B(Mov), R(1), R(2), 444 B(Mov), R(1), R(2),
445 B(CallRuntime), U16(Runtime::kDefineSetterPropertyUnchecked), R( 2), U8(4), 445 B(CallRuntime), U16(Runtime::kDefineSetterPropertyUnchecked), R( 2), U8(4),
446 B(Ldar), R(1), 446 B(Ldar), R(1),
447 /* 99 S> */ B(Return), 447 /* 99 S> */ B(Return),
448 ] 448 ]
449 constant pool: [ 449 constant pool: [
450 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 450 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
451 InstanceType::FIXED_ARRAY_TYPE, 451 InstanceType::FIXED_ARRAY_TYPE,
452 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 452 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
453 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 453 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
454 InstanceType::SHARED_FUNCTION_INFO_TYPE, 454 InstanceType::SHARED_FUNCTION_INFO_TYPE,
455 InstanceType::SHARED_FUNCTION_INFO_TYPE, 455 InstanceType::SHARED_FUNCTION_INFO_TYPE,
456 ] 456 ]
457 handlers: [ 457 handlers: [
458 ] 458 ]
459 459
OLDNEW
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/LetVariableContextSlot.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698