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

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

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move golden files to subdir, update golden format. Created 4 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
(Empty)
1 #
2 # Autogenerated by generate-bytecode-expectations
3 #
4
5 ---
6 pool type: string
7 execute: yes
8 wrap: no
9 test function name: f
10
11 ---
12 snippet: "
13 function f(a) { return a.func(); }
14 f(new (function Obj() { this.func = function() { return; }})())
15 "
16 frame size: 2
17 parameter count: 2
18 bytecode array length: 17
19 bytecodes: [
20 B(StackCheck),
21 B(Ldar), R(arg0),
22 B(Star), R(1),
23 B(LoadIC), R(1), U8(0), U8(3),
24 B(Star), R(0),
25 B(Call), R(0), R(1), U8(1), U8(1),
26 B(Return),
27 ]
28 constant pool: [
29 "func",
30 ]
31 handlers: [
32 ]
33
34 ---
35 snippet: "
36 function f(a, b, c) { return a.func(b, c); }
37 f(new (function Obj() { this.func = function() { return; }})(), 1, 2)
38 "
39 frame size: 4
40 parameter count: 4
41 bytecode array length: 25
42 bytecodes: [
43 B(StackCheck),
44 B(Ldar), R(arg0),
45 B(Star), R(1),
46 B(LoadIC), R(1), U8(0), U8(3),
47 B(Star), R(0),
48 B(Ldar), R(arg1),
49 B(Star), R(2),
50 B(Ldar), R(arg2),
51 B(Star), R(3),
52 B(Call), R(0), R(1), U8(3), U8(1),
53 B(Return),
54 ]
55 constant pool: [
56 "func",
57 ]
58 handlers: [
59 ]
60
61 ---
62 snippet: "
63 function f(a, b) { return a.func(b + b, b); }
64 f(new (function Obj() { this.func = function() { return; }})(), 1)
65 "
66 frame size: 4
67 parameter count: 3
68 bytecode array length: 31
69 bytecodes: [
70 B(StackCheck),
71 B(Ldar), R(arg0),
72 B(Star), R(1),
73 B(LoadIC), R(1), U8(0), U8(3),
74 B(Star), R(0),
75 B(Ldar), R(arg1),
76 B(Star), R(3),
77 B(Ldar), R(arg1),
78 B(Add), R(3),
79 B(Star), R(2),
80 B(Ldar), R(arg1),
81 B(Star), R(3),
82 B(Call), R(0), R(1), U8(3), U8(1),
83 B(Return),
84 ]
85 constant pool: [
86 "func",
87 ]
88 handlers: [
89 ]
90
91 ---
92 snippet: "
93 function f(a) {
94 a.func;
95 a.func;
96 a.func;
97 a.func;
98 a.func;
99 a.func;
100 a.func;
101 a.func;
102 a.func;
103 a.func;
104 a.func;
105 a.func;
106 a.func;
107 a.func;
108 a.func;
109 a.func;
110 a.func;
111 a.func;
112 a.func;
113 a.func;
114 a.func;
115 a.func;
116 a.func;
117 a.func;
118 a.func;
119 a.func;
120 a.func;
121 a.func;
122 a.func;
123 a.func;
124 a.func;
125 a.func;
126 a.func;
127 a.func;
128 a.func;
129 a.func;
130 a.func;
131 a.func;
132 a.func;
133 a.func;
134 a.func;
135 a.func;
136 a.func;
137 a.func;
138 a.func;
139 a.func;
140 a.func;
141 a.func;
142 a.func;
143 a.func;
144 a.func;
145 a.func;
146 a.func;
147 a.func;
148 a.func;
149 a.func;
150 a.func;
151 a.func;
152 a.func;
153 a.func;
154 a.func;
155 a.func;
156 a.func;
157 a.func;
158 a.func;
159 a.func;
160 a.func;
161 a.func;
162 a.func;
163 a.func;
164 a.func;
165 a.func;
166 a.func;
167 a.func;
168 a.func;
169 a.func;
170 a.func;
171 a.func;
172 a.func;
173 a.func;
174 a.func;
175 a.func;
176 a.func;
177 a.func;
178 a.func;
179 a.func;
180 a.func;
181 a.func;
182 a.func;
183 a.func;
184 a.func;
185 a.func;
186 a.func;
187 a.func;
188 a.func;
189 a.func;
190 a.func;
191 a.func;
192 a.func;
193 a.func;
194 a.func;
195 a.func;
196 a.func;
197 a.func;
198 a.func;
199 a.func;
200 a.func;
201 a.func;
202 a.func;
203 a.func;
204 a.func;
205 a.func;
206 a.func;
207 a.func;
208 a.func;
209 a.func;
210 a.func;
211 a.func;
212 a.func;
213 a.func;
214 a.func;
215 a.func;
216 a.func;
217 a.func;
218 a.func;
219 a.func;
220 a.func;
221 a.func;
222 return a.func(); }
223 f(new (function Obj() { this.func = function() { return; }})())
224 "
225 frame size: 2
226 parameter count: 2
227 bytecode array length: 1047
228 bytecodes: [
229 B(StackCheck),
230 B(Ldar), R(arg0),
231 B(Star), R(0),
232 B(LoadIC), R(0), U8(0), U8(1),
233 B(Ldar), R(arg0),
234 B(Star), R(0),
235 B(LoadIC), R(0), U8(0), U8(3),
236 B(Ldar), R(arg0),
237 B(Star), R(0),
238 B(LoadIC), R(0), U8(0), U8(5),
239 B(Ldar), R(arg0),
240 B(Star), R(0),
241 B(LoadIC), R(0), U8(0), U8(7),
242 B(Ldar), R(arg0),
243 B(Star), R(0),
244 B(LoadIC), R(0), U8(0), U8(9),
245 B(Ldar), R(arg0),
246 B(Star), R(0),
247 B(LoadIC), R(0), U8(0), U8(11),
248 B(Ldar), R(arg0),
249 B(Star), R(0),
250 B(LoadIC), R(0), U8(0), U8(13),
251 B(Ldar), R(arg0),
252 B(Star), R(0),
253 B(LoadIC), R(0), U8(0), U8(15),
254 B(Ldar), R(arg0),
255 B(Star), R(0),
256 B(LoadIC), R(0), U8(0), U8(17),
257 B(Ldar), R(arg0),
258 B(Star), R(0),
259 B(LoadIC), R(0), U8(0), U8(19),
260 B(Ldar), R(arg0),
261 B(Star), R(0),
262 B(LoadIC), R(0), U8(0), U8(21),
263 B(Ldar), R(arg0),
264 B(Star), R(0),
265 B(LoadIC), R(0), U8(0), U8(23),
266 B(Ldar), R(arg0),
267 B(Star), R(0),
268 B(LoadIC), R(0), U8(0), U8(25),
269 B(Ldar), R(arg0),
270 B(Star), R(0),
271 B(LoadIC), R(0), U8(0), U8(27),
272 B(Ldar), R(arg0),
273 B(Star), R(0),
274 B(LoadIC), R(0), U8(0), U8(29),
275 B(Ldar), R(arg0),
276 B(Star), R(0),
277 B(LoadIC), R(0), U8(0), U8(31),
278 B(Ldar), R(arg0),
279 B(Star), R(0),
280 B(LoadIC), R(0), U8(0), U8(33),
281 B(Ldar), R(arg0),
282 B(Star), R(0),
283 B(LoadIC), R(0), U8(0), U8(35),
284 B(Ldar), R(arg0),
285 B(Star), R(0),
286 B(LoadIC), R(0), U8(0), U8(37),
287 B(Ldar), R(arg0),
288 B(Star), R(0),
289 B(LoadIC), R(0), U8(0), U8(39),
290 B(Ldar), R(arg0),
291 B(Star), R(0),
292 B(LoadIC), R(0), U8(0), U8(41),
293 B(Ldar), R(arg0),
294 B(Star), R(0),
295 B(LoadIC), R(0), U8(0), U8(43),
296 B(Ldar), R(arg0),
297 B(Star), R(0),
298 B(LoadIC), R(0), U8(0), U8(45),
299 B(Ldar), R(arg0),
300 B(Star), R(0),
301 B(LoadIC), R(0), U8(0), U8(47),
302 B(Ldar), R(arg0),
303 B(Star), R(0),
304 B(LoadIC), R(0), U8(0), U8(49),
305 B(Ldar), R(arg0),
306 B(Star), R(0),
307 B(LoadIC), R(0), U8(0), U8(51),
308 B(Ldar), R(arg0),
309 B(Star), R(0),
310 B(LoadIC), R(0), U8(0), U8(53),
311 B(Ldar), R(arg0),
312 B(Star), R(0),
313 B(LoadIC), R(0), U8(0), U8(55),
314 B(Ldar), R(arg0),
315 B(Star), R(0),
316 B(LoadIC), R(0), U8(0), U8(57),
317 B(Ldar), R(arg0),
318 B(Star), R(0),
319 B(LoadIC), R(0), U8(0), U8(59),
320 B(Ldar), R(arg0),
321 B(Star), R(0),
322 B(LoadIC), R(0), U8(0), U8(61),
323 B(Ldar), R(arg0),
324 B(Star), R(0),
325 B(LoadIC), R(0), U8(0), U8(63),
326 B(Ldar), R(arg0),
327 B(Star), R(0),
328 B(LoadIC), R(0), U8(0), U8(65),
329 B(Ldar), R(arg0),
330 B(Star), R(0),
331 B(LoadIC), R(0), U8(0), U8(67),
332 B(Ldar), R(arg0),
333 B(Star), R(0),
334 B(LoadIC), R(0), U8(0), U8(69),
335 B(Ldar), R(arg0),
336 B(Star), R(0),
337 B(LoadIC), R(0), U8(0), U8(71),
338 B(Ldar), R(arg0),
339 B(Star), R(0),
340 B(LoadIC), R(0), U8(0), U8(73),
341 B(Ldar), R(arg0),
342 B(Star), R(0),
343 B(LoadIC), R(0), U8(0), U8(75),
344 B(Ldar), R(arg0),
345 B(Star), R(0),
346 B(LoadIC), R(0), U8(0), U8(77),
347 B(Ldar), R(arg0),
348 B(Star), R(0),
349 B(LoadIC), R(0), U8(0), U8(79),
350 B(Ldar), R(arg0),
351 B(Star), R(0),
352 B(LoadIC), R(0), U8(0), U8(81),
353 B(Ldar), R(arg0),
354 B(Star), R(0),
355 B(LoadIC), R(0), U8(0), U8(83),
356 B(Ldar), R(arg0),
357 B(Star), R(0),
358 B(LoadIC), R(0), U8(0), U8(85),
359 B(Ldar), R(arg0),
360 B(Star), R(0),
361 B(LoadIC), R(0), U8(0), U8(87),
362 B(Ldar), R(arg0),
363 B(Star), R(0),
364 B(LoadIC), R(0), U8(0), U8(89),
365 B(Ldar), R(arg0),
366 B(Star), R(0),
367 B(LoadIC), R(0), U8(0), U8(91),
368 B(Ldar), R(arg0),
369 B(Star), R(0),
370 B(LoadIC), R(0), U8(0), U8(93),
371 B(Ldar), R(arg0),
372 B(Star), R(0),
373 B(LoadIC), R(0), U8(0), U8(95),
374 B(Ldar), R(arg0),
375 B(Star), R(0),
376 B(LoadIC), R(0), U8(0), U8(97),
377 B(Ldar), R(arg0),
378 B(Star), R(0),
379 B(LoadIC), R(0), U8(0), U8(99),
380 B(Ldar), R(arg0),
381 B(Star), R(0),
382 B(LoadIC), R(0), U8(0), U8(101),
383 B(Ldar), R(arg0),
384 B(Star), R(0),
385 B(LoadIC), R(0), U8(0), U8(103),
386 B(Ldar), R(arg0),
387 B(Star), R(0),
388 B(LoadIC), R(0), U8(0), U8(105),
389 B(Ldar), R(arg0),
390 B(Star), R(0),
391 B(LoadIC), R(0), U8(0), U8(107),
392 B(Ldar), R(arg0),
393 B(Star), R(0),
394 B(LoadIC), R(0), U8(0), U8(109),
395 B(Ldar), R(arg0),
396 B(Star), R(0),
397 B(LoadIC), R(0), U8(0), U8(111),
398 B(Ldar), R(arg0),
399 B(Star), R(0),
400 B(LoadIC), R(0), U8(0), U8(113),
401 B(Ldar), R(arg0),
402 B(Star), R(0),
403 B(LoadIC), R(0), U8(0), U8(115),
404 B(Ldar), R(arg0),
405 B(Star), R(0),
406 B(LoadIC), R(0), U8(0), U8(117),
407 B(Ldar), R(arg0),
408 B(Star), R(0),
409 B(LoadIC), R(0), U8(0), U8(119),
410 B(Ldar), R(arg0),
411 B(Star), R(0),
412 B(LoadIC), R(0), U8(0), U8(121),
413 B(Ldar), R(arg0),
414 B(Star), R(0),
415 B(LoadIC), R(0), U8(0), U8(123),
416 B(Ldar), R(arg0),
417 B(Star), R(0),
418 B(LoadIC), R(0), U8(0), U8(125),
419 B(Ldar), R(arg0),
420 B(Star), R(0),
421 B(LoadIC), R(0), U8(0), U8(127),
422 B(Ldar), R(arg0),
423 B(Star), R(0),
424 B(LoadIC), R(0), U8(0), U8(129),
425 B(Ldar), R(arg0),
426 B(Star), R(0),
427 B(LoadIC), R(0), U8(0), U8(131),
428 B(Ldar), R(arg0),
429 B(Star), R(0),
430 B(LoadIC), R(0), U8(0), U8(133),
431 B(Ldar), R(arg0),
432 B(Star), R(0),
433 B(LoadIC), R(0), U8(0), U8(135),
434 B(Ldar), R(arg0),
435 B(Star), R(0),
436 B(LoadIC), R(0), U8(0), U8(137),
437 B(Ldar), R(arg0),
438 B(Star), R(0),
439 B(LoadIC), R(0), U8(0), U8(139),
440 B(Ldar), R(arg0),
441 B(Star), R(0),
442 B(LoadIC), R(0), U8(0), U8(141),
443 B(Ldar), R(arg0),
444 B(Star), R(0),
445 B(LoadIC), R(0), U8(0), U8(143),
446 B(Ldar), R(arg0),
447 B(Star), R(0),
448 B(LoadIC), R(0), U8(0), U8(145),
449 B(Ldar), R(arg0),
450 B(Star), R(0),
451 B(LoadIC), R(0), U8(0), U8(147),
452 B(Ldar), R(arg0),
453 B(Star), R(0),
454 B(LoadIC), R(0), U8(0), U8(149),
455 B(Ldar), R(arg0),
456 B(Star), R(0),
457 B(LoadIC), R(0), U8(0), U8(151),
458 B(Ldar), R(arg0),
459 B(Star), R(0),
460 B(LoadIC), R(0), U8(0), U8(153),
461 B(Ldar), R(arg0),
462 B(Star), R(0),
463 B(LoadIC), R(0), U8(0), U8(155),
464 B(Ldar), R(arg0),
465 B(Star), R(0),
466 B(LoadIC), R(0), U8(0), U8(157),
467 B(Ldar), R(arg0),
468 B(Star), R(0),
469 B(LoadIC), R(0), U8(0), U8(159),
470 B(Ldar), R(arg0),
471 B(Star), R(0),
472 B(LoadIC), R(0), U8(0), U8(161),
473 B(Ldar), R(arg0),
474 B(Star), R(0),
475 B(LoadIC), R(0), U8(0), U8(163),
476 B(Ldar), R(arg0),
477 B(Star), R(0),
478 B(LoadIC), R(0), U8(0), U8(165),
479 B(Ldar), R(arg0),
480 B(Star), R(0),
481 B(LoadIC), R(0), U8(0), U8(167),
482 B(Ldar), R(arg0),
483 B(Star), R(0),
484 B(LoadIC), R(0), U8(0), U8(169),
485 B(Ldar), R(arg0),
486 B(Star), R(0),
487 B(LoadIC), R(0), U8(0), U8(171),
488 B(Ldar), R(arg0),
489 B(Star), R(0),
490 B(LoadIC), R(0), U8(0), U8(173),
491 B(Ldar), R(arg0),
492 B(Star), R(0),
493 B(LoadIC), R(0), U8(0), U8(175),
494 B(Ldar), R(arg0),
495 B(Star), R(0),
496 B(LoadIC), R(0), U8(0), U8(177),
497 B(Ldar), R(arg0),
498 B(Star), R(0),
499 B(LoadIC), R(0), U8(0), U8(179),
500 B(Ldar), R(arg0),
501 B(Star), R(0),
502 B(LoadIC), R(0), U8(0), U8(181),
503 B(Ldar), R(arg0),
504 B(Star), R(0),
505 B(LoadIC), R(0), U8(0), U8(183),
506 B(Ldar), R(arg0),
507 B(Star), R(0),
508 B(LoadIC), R(0), U8(0), U8(185),
509 B(Ldar), R(arg0),
510 B(Star), R(0),
511 B(LoadIC), R(0), U8(0), U8(187),
512 B(Ldar), R(arg0),
513 B(Star), R(0),
514 B(LoadIC), R(0), U8(0), U8(189),
515 B(Ldar), R(arg0),
516 B(Star), R(0),
517 B(LoadIC), R(0), U8(0), U8(191),
518 B(Ldar), R(arg0),
519 B(Star), R(0),
520 B(LoadIC), R(0), U8(0), U8(193),
521 B(Ldar), R(arg0),
522 B(Star), R(0),
523 B(LoadIC), R(0), U8(0), U8(195),
524 B(Ldar), R(arg0),
525 B(Star), R(0),
526 B(LoadIC), R(0), U8(0), U8(197),
527 B(Ldar), R(arg0),
528 B(Star), R(0),
529 B(LoadIC), R(0), U8(0), U8(199),
530 B(Ldar), R(arg0),
531 B(Star), R(0),
532 B(LoadIC), R(0), U8(0), U8(201),
533 B(Ldar), R(arg0),
534 B(Star), R(0),
535 B(LoadIC), R(0), U8(0), U8(203),
536 B(Ldar), R(arg0),
537 B(Star), R(0),
538 B(LoadIC), R(0), U8(0), U8(205),
539 B(Ldar), R(arg0),
540 B(Star), R(0),
541 B(LoadIC), R(0), U8(0), U8(207),
542 B(Ldar), R(arg0),
543 B(Star), R(0),
544 B(LoadIC), R(0), U8(0), U8(209),
545 B(Ldar), R(arg0),
546 B(Star), R(0),
547 B(LoadIC), R(0), U8(0), U8(211),
548 B(Ldar), R(arg0),
549 B(Star), R(0),
550 B(LoadIC), R(0), U8(0), U8(213),
551 B(Ldar), R(arg0),
552 B(Star), R(0),
553 B(LoadIC), R(0), U8(0), U8(215),
554 B(Ldar), R(arg0),
555 B(Star), R(0),
556 B(LoadIC), R(0), U8(0), U8(217),
557 B(Ldar), R(arg0),
558 B(Star), R(0),
559 B(LoadIC), R(0), U8(0), U8(219),
560 B(Ldar), R(arg0),
561 B(Star), R(0),
562 B(LoadIC), R(0), U8(0), U8(221),
563 B(Ldar), R(arg0),
564 B(Star), R(0),
565 B(LoadIC), R(0), U8(0), U8(223),
566 B(Ldar), R(arg0),
567 B(Star), R(0),
568 B(LoadIC), R(0), U8(0), U8(225),
569 B(Ldar), R(arg0),
570 B(Star), R(0),
571 B(LoadIC), R(0), U8(0), U8(227),
572 B(Ldar), R(arg0),
573 B(Star), R(0),
574 B(LoadIC), R(0), U8(0), U8(229),
575 B(Ldar), R(arg0),
576 B(Star), R(0),
577 B(LoadIC), R(0), U8(0), U8(231),
578 B(Ldar), R(arg0),
579 B(Star), R(0),
580 B(LoadIC), R(0), U8(0), U8(233),
581 B(Ldar), R(arg0),
582 B(Star), R(0),
583 B(LoadIC), R(0), U8(0), U8(235),
584 B(Ldar), R(arg0),
585 B(Star), R(0),
586 B(LoadIC), R(0), U8(0), U8(237),
587 B(Ldar), R(arg0),
588 B(Star), R(0),
589 B(LoadIC), R(0), U8(0), U8(239),
590 B(Ldar), R(arg0),
591 B(Star), R(0),
592 B(LoadIC), R(0), U8(0), U8(241),
593 B(Ldar), R(arg0),
594 B(Star), R(0),
595 B(LoadIC), R(0), U8(0), U8(243),
596 B(Ldar), R(arg0),
597 B(Star), R(0),
598 B(LoadIC), R(0), U8(0), U8(245),
599 B(Ldar), R(arg0),
600 B(Star), R(0),
601 B(LoadIC), R(0), U8(0), U8(247),
602 B(Ldar), R(arg0),
603 B(Star), R(0),
604 B(LoadIC), R(0), U8(0), U8(249),
605 B(Ldar), R(arg0),
606 B(Star), R(0),
607 B(LoadIC), R(0), U8(0), U8(251),
608 B(Ldar), R(arg0),
609 B(Star), R(0),
610 B(LoadIC), R(0), U8(0), U8(253),
611 B(Ldar), R(arg0),
612 B(Star), R(0),
613 B(LoadIC), R(0), U8(0), U8(255),
614 B(Ldar), R(arg0),
615 B(Star), R(1),
616 B(LoadICWide), R(1), U16(0), U16(259),
617 B(Star), R(0),
618 B(CallWide), R16(0), R16(1), U16(1), U16(257),
619 B(Return),
620 ]
621 constant pool: [
622 "func",
623 ]
624 handlers: [
625 ]
626
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698