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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/ObjectLiterals.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: mixed
7 execute: yes 6 execute: yes
8 wrap: yes 7 wrap: yes
9 8
10 --- 9 ---
11 snippet: " 10 snippet: "
12 return { }; 11 return { };
13 " 12 "
14 frame size: 1 13 frame size: 1
15 parameter count: 1 14 parameter count: 1
16 bytecode array length: 9 15 bytecode array length: 9
17 bytecodes: [ 16 bytecodes: [
18 /* 30 E> */ B(StackCheck), 17 /* 30 E> */ B(StackCheck),
19 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(35), R(0), 18 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(35), R(0),
20 B(Ldar), R(0), 19 B(Ldar), R(0),
21 /* 46 S> */ B(Return), 20 /* 46 S> */ B(Return),
22 ] 21 ]
23 constant pool: [ 22 constant pool: [
24 InstanceType::FIXED_ARRAY_TYPE, 23 FIXED_ARRAY_TYPE,
25 ] 24 ]
26 handlers: [ 25 handlers: [
27 ] 26 ]
28 27
29 --- 28 ---
30 snippet: " 29 snippet: "
31 return { name: 'string', val: 9.2 }; 30 return { name: 'string', val: 9.2 };
32 " 31 "
33 frame size: 1 32 frame size: 1
34 parameter count: 1 33 parameter count: 1
35 bytecode array length: 9 34 bytecode array length: 9
36 bytecodes: [ 35 bytecodes: [
37 /* 30 E> */ B(StackCheck), 36 /* 30 E> */ B(StackCheck),
38 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0), 37 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0),
39 B(Ldar), R(0), 38 B(Ldar), R(0),
40 /* 71 S> */ B(Return), 39 /* 71 S> */ B(Return),
41 ] 40 ]
42 constant pool: [ 41 constant pool: [
43 InstanceType::FIXED_ARRAY_TYPE, 42 FIXED_ARRAY_TYPE,
44 ] 43 ]
45 handlers: [ 44 handlers: [
46 ] 45 ]
47 46
48 --- 47 ---
49 snippet: " 48 snippet: "
50 var a = 1; return { name: 'string', val: a }; 49 var a = 1; return { name: 'string', val: a };
51 " 50 "
52 frame size: 2 51 frame size: 2
53 parameter count: 1 52 parameter count: 1
54 bytecode array length: 17 53 bytecode array length: 17
55 bytecodes: [ 54 bytecodes: [
56 /* 30 E> */ B(StackCheck), 55 /* 30 E> */ B(StackCheck),
57 /* 42 S> */ B(LdaSmi), U8(1), 56 /* 42 S> */ B(LdaSmi), U8(1),
58 B(Star), R(0), 57 B(Star), R(0),
59 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 58 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
60 /* 75 E> */ B(StaNamedPropertySloppy), R(1), U8(1), U8(1), 59 /* 75 E> */ B(StaNamedPropertySloppy), R(1), U8(1), U8(1),
61 B(Ldar), R(1), 60 B(Ldar), R(1),
62 /* 80 S> */ B(Return), 61 /* 80 S> */ B(Return),
63 ] 62 ]
64 constant pool: [ 63 constant pool: [
65 InstanceType::FIXED_ARRAY_TYPE, 64 FIXED_ARRAY_TYPE,
66 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 65 ONE_BYTE_INTERNALIZED_STRING_TYPE ["val"],
67 ] 66 ]
68 handlers: [ 67 handlers: [
69 ] 68 ]
70 69
71 --- 70 ---
72 snippet: " 71 snippet: "
73 var a = 1; return { val: a, val: a + 1 }; 72 var a = 1; return { val: a, val: a + 1 };
74 " 73 "
75 frame size: 2 74 frame size: 2
76 parameter count: 1 75 parameter count: 1
77 bytecode array length: 21 76 bytecode array length: 21
78 bytecodes: [ 77 bytecodes: [
79 /* 30 E> */ B(StackCheck), 78 /* 30 E> */ B(StackCheck),
80 /* 42 S> */ B(LdaSmi), U8(1), 79 /* 42 S> */ B(LdaSmi), U8(1),
81 B(Star), R(0), 80 B(Star), R(0),
82 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 81 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
83 /* 67 E> */ B(AddSmi), U8(1), R(0), U8(1), 82 /* 67 E> */ B(AddSmi), U8(1), R(0), U8(1),
84 B(StaNamedPropertySloppy), R(1), U8(1), U8(2), 83 B(StaNamedPropertySloppy), R(1), U8(1), U8(2),
85 B(Ldar), R(1), 84 B(Ldar), R(1),
86 /* 76 S> */ B(Return), 85 /* 76 S> */ B(Return),
87 ] 86 ]
88 constant pool: [ 87 constant pool: [
89 InstanceType::FIXED_ARRAY_TYPE, 88 FIXED_ARRAY_TYPE,
90 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 89 ONE_BYTE_INTERNALIZED_STRING_TYPE ["val"],
91 ] 90 ]
92 handlers: [ 91 handlers: [
93 ] 92 ]
94 93
95 --- 94 ---
96 snippet: " 95 snippet: "
97 return { func: function() { } }; 96 return { func: function() { } };
98 " 97 "
99 frame size: 1 98 frame size: 1
100 parameter count: 1 99 parameter count: 1
101 bytecode array length: 16 100 bytecode array length: 16
102 bytecodes: [ 101 bytecodes: [
103 /* 30 E> */ B(StackCheck), 102 /* 30 E> */ B(StackCheck),
104 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0), 103 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0),
105 B(CreateClosure), U8(1), U8(2), 104 B(CreateClosure), U8(1), U8(2),
106 B(StaNamedPropertySloppy), R(0), U8(2), U8(1), 105 B(StaNamedPropertySloppy), R(0), U8(2), U8(1),
107 B(Ldar), R(0), 106 B(Ldar), R(0),
108 /* 67 S> */ B(Return), 107 /* 67 S> */ B(Return),
109 ] 108 ]
110 constant pool: [ 109 constant pool: [
111 InstanceType::FIXED_ARRAY_TYPE, 110 FIXED_ARRAY_TYPE,
112 InstanceType::SHARED_FUNCTION_INFO_TYPE, 111 SHARED_FUNCTION_INFO_TYPE,
113 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 112 ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"],
114 ] 113 ]
115 handlers: [ 114 handlers: [
116 ] 115 ]
117 116
118 --- 117 ---
119 snippet: " 118 snippet: "
120 return { func(a) { return a; } }; 119 return { func(a) { return a; } };
121 " 120 "
122 frame size: 1 121 frame size: 1
123 parameter count: 1 122 parameter count: 1
124 bytecode array length: 16 123 bytecode array length: 16
125 bytecodes: [ 124 bytecodes: [
126 /* 30 E> */ B(StackCheck), 125 /* 30 E> */ B(StackCheck),
127 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0), 126 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0),
128 B(CreateClosure), U8(1), U8(2), 127 B(CreateClosure), U8(1), U8(2),
129 B(StaNamedPropertySloppy), R(0), U8(2), U8(1), 128 B(StaNamedPropertySloppy), R(0), U8(2), U8(1),
130 B(Ldar), R(0), 129 B(Ldar), R(0),
131 /* 68 S> */ B(Return), 130 /* 68 S> */ B(Return),
132 ] 131 ]
133 constant pool: [ 132 constant pool: [
134 InstanceType::FIXED_ARRAY_TYPE, 133 FIXED_ARRAY_TYPE,
135 InstanceType::SHARED_FUNCTION_INFO_TYPE, 134 SHARED_FUNCTION_INFO_TYPE,
136 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 135 ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"],
137 ] 136 ]
138 handlers: [ 137 handlers: [
139 ] 138 ]
140 139
141 --- 140 ---
142 snippet: " 141 snippet: "
143 return { get a() { return 2; } }; 142 return { get a() { return 2; } };
144 " 143 "
145 frame size: 6 144 frame size: 6
146 parameter count: 1 145 parameter count: 1
147 bytecode array length: 32 146 bytecode array length: 32
148 bytecodes: [ 147 bytecodes: [
149 /* 30 E> */ B(StackCheck), 148 /* 30 E> */ B(StackCheck),
150 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0), 149 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0),
151 B(LdaConstant), U8(1), 150 B(LdaConstant), U8(1),
152 B(Star), R(2), 151 B(Star), R(2),
153 B(CreateClosure), U8(2), U8(2), 152 B(CreateClosure), U8(2), U8(2),
154 B(Star), R(3), 153 B(Star), R(3),
155 B(LdaNull), 154 B(LdaNull),
156 B(Star), R(4), 155 B(Star), R(4),
157 B(LdaZero), 156 B(LdaZero),
158 B(Star), R(5), 157 B(Star), R(5),
159 B(Mov), R(0), R(1), 158 B(Mov), R(0), R(1),
160 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5), 159 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5),
161 B(Ldar), R(0), 160 B(Ldar), R(0),
162 /* 68 S> */ B(Return), 161 /* 68 S> */ B(Return),
163 ] 162 ]
164 constant pool: [ 163 constant pool: [
165 InstanceType::FIXED_ARRAY_TYPE, 164 FIXED_ARRAY_TYPE,
166 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 165 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
167 InstanceType::SHARED_FUNCTION_INFO_TYPE, 166 SHARED_FUNCTION_INFO_TYPE,
168 ] 167 ]
169 handlers: [ 168 handlers: [
170 ] 169 ]
171 170
172 --- 171 ---
173 snippet: " 172 snippet: "
174 return { get a() { return this.x; }, set a(val) { this.x = val } }; 173 return { get a() { return this.x; }, set a(val) { this.x = val } };
175 " 174 "
176 frame size: 6 175 frame size: 6
177 parameter count: 1 176 parameter count: 1
178 bytecode array length: 34 177 bytecode array length: 34
179 bytecodes: [ 178 bytecodes: [
180 /* 30 E> */ B(StackCheck), 179 /* 30 E> */ B(StackCheck),
181 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0), 180 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0),
182 B(LdaConstant), U8(1), 181 B(LdaConstant), U8(1),
183 B(Star), R(2), 182 B(Star), R(2),
184 B(CreateClosure), U8(2), U8(2), 183 B(CreateClosure), U8(2), U8(2),
185 B(Star), R(3), 184 B(Star), R(3),
186 B(CreateClosure), U8(3), U8(2), 185 B(CreateClosure), U8(3), U8(2),
187 B(Star), R(4), 186 B(Star), R(4),
188 B(LdaZero), 187 B(LdaZero),
189 B(Star), R(5), 188 B(Star), R(5),
190 B(Mov), R(0), R(1), 189 B(Mov), R(0), R(1),
191 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5), 190 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5),
192 B(Ldar), R(0), 191 B(Ldar), R(0),
193 /* 102 S> */ B(Return), 192 /* 102 S> */ B(Return),
194 ] 193 ]
195 constant pool: [ 194 constant pool: [
196 InstanceType::FIXED_ARRAY_TYPE, 195 FIXED_ARRAY_TYPE,
197 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 196 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
198 InstanceType::SHARED_FUNCTION_INFO_TYPE, 197 SHARED_FUNCTION_INFO_TYPE,
199 InstanceType::SHARED_FUNCTION_INFO_TYPE, 198 SHARED_FUNCTION_INFO_TYPE,
200 ] 199 ]
201 handlers: [ 200 handlers: [
202 ] 201 ]
203 202
204 --- 203 ---
205 snippet: " 204 snippet: "
206 return { set b(val) { this.y = val } }; 205 return { set b(val) { this.y = val } };
207 " 206 "
208 frame size: 6 207 frame size: 6
209 parameter count: 1 208 parameter count: 1
210 bytecode array length: 32 209 bytecode array length: 32
211 bytecodes: [ 210 bytecodes: [
212 /* 30 E> */ B(StackCheck), 211 /* 30 E> */ B(StackCheck),
213 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0), 212 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(0),
214 B(LdaConstant), U8(1), 213 B(LdaConstant), U8(1),
215 B(Star), R(2), 214 B(Star), R(2),
216 B(LdaNull), 215 B(LdaNull),
217 B(Star), R(3), 216 B(Star), R(3),
218 B(CreateClosure), U8(2), U8(2), 217 B(CreateClosure), U8(2), U8(2),
219 B(Star), R(4), 218 B(Star), R(4),
220 B(LdaZero), 219 B(LdaZero),
221 B(Star), R(5), 220 B(Star), R(5),
222 B(Mov), R(0), R(1), 221 B(Mov), R(0), R(1),
223 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5), 222 B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), R(1), U8(5),
224 B(Ldar), R(0), 223 B(Ldar), R(0),
225 /* 74 S> */ B(Return), 224 /* 74 S> */ B(Return),
226 ] 225 ]
227 constant pool: [ 226 constant pool: [
228 InstanceType::FIXED_ARRAY_TYPE, 227 FIXED_ARRAY_TYPE,
229 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 228 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"],
230 InstanceType::SHARED_FUNCTION_INFO_TYPE, 229 SHARED_FUNCTION_INFO_TYPE,
231 ] 230 ]
232 handlers: [ 231 handlers: [
233 ] 232 ]
234 233
235 --- 234 ---
236 snippet: " 235 snippet: "
237 var a = 1; return { 1: a }; 236 var a = 1; return { 1: a };
238 " 237 "
239 frame size: 6 238 frame size: 6
240 parameter count: 1 239 parameter count: 1
241 bytecode array length: 31 240 bytecode array length: 31
242 bytecodes: [ 241 bytecodes: [
243 /* 30 E> */ B(StackCheck), 242 /* 30 E> */ B(StackCheck),
244 /* 42 S> */ B(LdaSmi), U8(1), 243 /* 42 S> */ B(LdaSmi), U8(1),
245 B(Star), R(0), 244 B(Star), R(0),
246 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 245 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
247 B(LdaSmi), U8(1), 246 B(LdaSmi), U8(1),
248 B(Star), R(3), 247 B(Star), R(3),
249 B(LdaZero), 248 B(LdaZero),
250 B(Star), R(5), 249 B(Star), R(5),
251 B(Mov), R(1), R(2), 250 B(Mov), R(1), R(2),
252 B(Mov), R(0), R(4), 251 B(Mov), R(0), R(4),
253 /* 57 E> */ B(CallRuntime), U16(Runtime::kSetProperty), R(2), U8(4), 252 /* 57 E> */ B(CallRuntime), U16(Runtime::kSetProperty), R(2), U8(4),
254 B(Ldar), R(1), 253 B(Ldar), R(1),
255 /* 62 S> */ B(Return), 254 /* 62 S> */ B(Return),
256 ] 255 ]
257 constant pool: [ 256 constant pool: [
258 InstanceType::FIXED_ARRAY_TYPE, 257 FIXED_ARRAY_TYPE,
259 ] 258 ]
260 handlers: [ 259 handlers: [
261 ] 260 ]
262 261
263 --- 262 ---
264 snippet: " 263 snippet: "
265 return { __proto__: null }; 264 return { __proto__: null };
266 " 265 "
267 frame size: 3 266 frame size: 3
268 parameter count: 1 267 parameter count: 1
269 bytecode array length: 20 268 bytecode array length: 20
270 bytecodes: [ 269 bytecodes: [
271 /* 30 E> */ B(StackCheck), 270 /* 30 E> */ B(StackCheck),
272 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(35), R(0), 271 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(35), R(0),
273 B(LdaNull), 272 B(LdaNull),
274 B(Star), R(2), 273 B(Star), R(2),
275 B(Mov), R(0), R(1), 274 B(Mov), R(0), R(1),
276 B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(1), U8(2) , 275 B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(1), U8(2) ,
277 B(Ldar), R(0), 276 B(Ldar), R(0),
278 /* 62 S> */ B(Return), 277 /* 62 S> */ B(Return),
279 ] 278 ]
280 constant pool: [ 279 constant pool: [
281 InstanceType::FIXED_ARRAY_TYPE, 280 FIXED_ARRAY_TYPE,
282 ] 281 ]
283 handlers: [ 282 handlers: [
284 ] 283 ]
285 284
286 --- 285 ---
287 snippet: " 286 snippet: "
288 var a = 'test'; return { [a]: 1 }; 287 var a = 'test'; return { [a]: 1 };
289 " 288 "
290 frame size: 7 289 frame size: 7
291 parameter count: 1 290 parameter count: 1
292 bytecode array length: 33 291 bytecode array length: 33
293 bytecodes: [ 292 bytecodes: [
294 /* 30 E> */ B(StackCheck), 293 /* 30 E> */ B(StackCheck),
295 /* 42 S> */ B(LdaConstant), U8(0), 294 /* 42 S> */ B(LdaConstant), U8(0),
296 B(Star), R(0), 295 B(Star), R(0),
297 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35), R(1), 296 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35), R(1),
298 /* 60 E> */ B(ToName), R(3), 297 /* 60 E> */ B(ToName), R(3),
299 B(LdaSmi), U8(1), 298 B(LdaSmi), U8(1),
300 B(Star), R(4), 299 B(Star), R(4),
301 B(LdaZero), 300 B(LdaZero),
302 B(Star), R(5), 301 B(Star), R(5),
303 B(LdaZero), 302 B(LdaZero),
304 B(Star), R(6), 303 B(Star), R(6),
305 B(Mov), R(1), R(2), 304 B(Mov), R(1), R(2),
306 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 305 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
307 B(Ldar), R(1), 306 B(Ldar), R(1),
308 /* 69 S> */ B(Return), 307 /* 69 S> */ B(Return),
309 ] 308 ]
310 constant pool: [ 309 constant pool: [
311 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 310 ONE_BYTE_INTERNALIZED_STRING_TYPE ["test"],
312 InstanceType::FIXED_ARRAY_TYPE, 311 FIXED_ARRAY_TYPE,
313 ] 312 ]
314 handlers: [ 313 handlers: [
315 ] 314 ]
316 315
317 --- 316 ---
318 snippet: " 317 snippet: "
319 var a = 'test'; return { val: a, [a]: 1 }; 318 var a = 'test'; return { val: a, [a]: 1 };
320 " 319 "
321 frame size: 7 320 frame size: 7
322 parameter count: 1 321 parameter count: 1
(...skipping 10 matching lines...) Expand all
333 B(LdaZero), 332 B(LdaZero),
334 B(Star), R(5), 333 B(Star), R(5),
335 B(LdaZero), 334 B(LdaZero),
336 B(Star), R(6), 335 B(Star), R(6),
337 B(Mov), R(1), R(2), 336 B(Mov), R(1), R(2),
338 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 337 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
339 B(Ldar), R(1), 338 B(Ldar), R(1),
340 /* 77 S> */ B(Return), 339 /* 77 S> */ B(Return),
341 ] 340 ]
342 constant pool: [ 341 constant pool: [
343 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 342 ONE_BYTE_INTERNALIZED_STRING_TYPE ["test"],
344 InstanceType::FIXED_ARRAY_TYPE, 343 FIXED_ARRAY_TYPE,
345 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 344 ONE_BYTE_INTERNALIZED_STRING_TYPE ["val"],
346 ] 345 ]
347 handlers: [ 346 handlers: [
348 ] 347 ]
349 348
350 --- 349 ---
351 snippet: " 350 snippet: "
352 var a = 'test'; return { [a]: 1, __proto__: {} }; 351 var a = 'test'; return { [a]: 1, __proto__: {} };
353 " 352 "
354 frame size: 7 353 frame size: 7
355 parameter count: 1 354 parameter count: 1
(...skipping 13 matching lines...) Expand all
369 B(Mov), R(1), R(2), 368 B(Mov), R(1), R(2),
370 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 369 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
371 B(CreateObjectLiteral), U8(1), U8(0), U8(35), R(4), 370 B(CreateObjectLiteral), U8(1), U8(0), U8(35), R(4),
372 B(Mov), R(1), R(2), 371 B(Mov), R(1), R(2),
373 B(Mov), R(4), R(3), 372 B(Mov), R(4), R(3),
374 B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(2), U8(2) , 373 B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(2), U8(2) ,
375 B(Ldar), R(1), 374 B(Ldar), R(1),
376 /* 84 S> */ B(Return), 375 /* 84 S> */ B(Return),
377 ] 376 ]
378 constant pool: [ 377 constant pool: [
379 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 378 ONE_BYTE_INTERNALIZED_STRING_TYPE ["test"],
380 InstanceType::FIXED_ARRAY_TYPE, 379 FIXED_ARRAY_TYPE,
381 ] 380 ]
382 handlers: [ 381 handlers: [
383 ] 382 ]
384 383
385 --- 384 ---
386 snippet: " 385 snippet: "
387 var n = 'name'; return { [n]: 'val', get a() { }, set a(b) {} }; 386 var n = 'name'; return { [n]: 'val', get a() { }, set a(b) {} };
388 " 387 "
389 frame size: 7 388 frame size: 7
390 parameter count: 1 389 parameter count: 1
(...skipping 25 matching lines...) Expand all
416 B(CreateClosure), U8(5), U8(2), 415 B(CreateClosure), U8(5), U8(2),
417 B(Star), R(4), 416 B(Star), R(4),
418 B(LdaZero), 417 B(LdaZero),
419 B(Star), R(5), 418 B(Star), R(5),
420 B(Mov), R(1), R(2), 419 B(Mov), R(1), R(2),
421 B(CallRuntime), U16(Runtime::kDefineSetterPropertyUnchecked), R( 2), U8(4), 420 B(CallRuntime), U16(Runtime::kDefineSetterPropertyUnchecked), R( 2), U8(4),
422 B(Ldar), R(1), 421 B(Ldar), R(1),
423 /* 99 S> */ B(Return), 422 /* 99 S> */ B(Return),
424 ] 423 ]
425 constant pool: [ 424 constant pool: [
426 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 425 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
427 InstanceType::FIXED_ARRAY_TYPE, 426 FIXED_ARRAY_TYPE,
428 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 427 ONE_BYTE_INTERNALIZED_STRING_TYPE ["val"],
429 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 428 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
430 InstanceType::SHARED_FUNCTION_INFO_TYPE, 429 SHARED_FUNCTION_INFO_TYPE,
431 InstanceType::SHARED_FUNCTION_INFO_TYPE, 430 SHARED_FUNCTION_INFO_TYPE,
432 ] 431 ]
433 handlers: [ 432 handlers: [
434 ] 433 ]
435 434
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698