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

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

Powered by Google App Engine
This is Rietveld 408576698