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

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

Issue 2811183005: Do not use new struct type where unnecessary. (Closed)
Patch Set: rebase 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 return [ 1, 2 ]; 10 return [ 1, 2 ];
11 " 11 "
12 frame size: 0 12 frame size: 0
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 6 14 bytecode array length: 6
15 bytecodes: [ 15 bytecodes: [
16 /* 30 E> */ B(StackCheck), 16 /* 30 E> */ B(StackCheck),
17 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(9), 17 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(9),
18 /* 51 S> */ B(Return), 18 /* 51 S> */ B(Return),
19 ] 19 ]
20 constant pool: [ 20 constant pool: [
21 CONSTANT_ELEMENTS_PAIR_TYPE, 21 TUPLE2_TYPE,
22 ] 22 ]
23 handlers: [ 23 handlers: [
24 ] 24 ]
25 25
26 --- 26 ---
27 snippet: " 27 snippet: "
28 var a = 1; return [ a, a + 1 ]; 28 var a = 1; return [ a, a + 1 ];
29 " 29 "
30 frame size: 3 30 frame size: 3
31 parameter count: 1 31 parameter count: 1
(...skipping 10 matching lines...) Expand all
42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(4), 42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(4),
43 B(LdaSmi), I8(1), 43 B(LdaSmi), I8(1),
44 B(Star), R(1), 44 B(Star), R(1),
45 B(Ldar), R(0), 45 B(Ldar), R(0),
46 /* 59 E> */ B(AddSmi), I8(1), U8(2), 46 /* 59 E> */ B(AddSmi), I8(1), U8(2),
47 B(StaKeyedPropertySloppy), R(2), R(1), U8(4), 47 B(StaKeyedPropertySloppy), R(2), R(1), U8(4),
48 B(Ldar), R(2), 48 B(Ldar), R(2),
49 /* 66 S> */ B(Return), 49 /* 66 S> */ B(Return),
50 ] 50 ]
51 constant pool: [ 51 constant pool: [
52 CONSTANT_ELEMENTS_PAIR_TYPE, 52 TUPLE2_TYPE,
53 ] 53 ]
54 handlers: [ 54 handlers: [
55 ] 55 ]
56 56
57 --- 57 ---
58 snippet: " 58 snippet: "
59 return [ [ 1, 2 ], [ 3 ] ]; 59 return [ [ 1, 2 ], [ 3 ] ];
60 " 60 "
61 frame size: 0 61 frame size: 0
62 parameter count: 1 62 parameter count: 1
63 bytecode array length: 6 63 bytecode array length: 6
64 bytecodes: [ 64 bytecodes: [
65 /* 30 E> */ B(StackCheck), 65 /* 30 E> */ B(StackCheck),
66 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(4), U8(0), 66 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(4), U8(0),
67 /* 62 S> */ B(Return), 67 /* 62 S> */ B(Return),
68 ] 68 ]
69 constant pool: [ 69 constant pool: [
70 CONSTANT_ELEMENTS_PAIR_TYPE, 70 TUPLE2_TYPE,
71 ] 71 ]
72 handlers: [ 72 handlers: [
73 ] 73 ]
74 74
75 --- 75 ---
76 snippet: " 76 snippet: "
77 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; 77 var a = 1; return [ [ a, 2 ], [ a + 2 ] ];
78 " 78 "
79 frame size: 5 79 frame size: 5
80 parameter count: 1 80 parameter count: 1
(...skipping 22 matching lines...) Expand all
103 B(Star), R(3), 103 B(Star), R(3),
104 B(Ldar), R(0), 104 B(Ldar), R(0),
105 /* 68 E> */ B(AddSmi), I8(2), U8(5), 105 /* 68 E> */ B(AddSmi), I8(2), U8(5),
106 B(StaKeyedPropertySloppy), R(4), R(3), U8(7), 106 B(StaKeyedPropertySloppy), R(4), R(3), U8(7),
107 B(Ldar), R(4), 107 B(Ldar), R(4),
108 B(StaKeyedPropertySloppy), R(2), R(1), U8(10), 108 B(StaKeyedPropertySloppy), R(2), R(1), U8(10),
109 B(Ldar), R(2), 109 B(Ldar), R(2),
110 /* 77 S> */ B(Return), 110 /* 77 S> */ B(Return),
111 ] 111 ]
112 constant pool: [ 112 constant pool: [
113 CONSTANT_ELEMENTS_PAIR_TYPE, 113 TUPLE2_TYPE,
114 CONSTANT_ELEMENTS_PAIR_TYPE, 114 TUPLE2_TYPE,
115 CONSTANT_ELEMENTS_PAIR_TYPE, 115 TUPLE2_TYPE,
116 ] 116 ]
117 handlers: [ 117 handlers: [
118 ] 118 ]
119 119
OLDNEW
« no previous file with comments | « src/objects/literal-objects.h ('k') | test/cctest/interpreter/bytecode_expectations/ArrayLiteralsWide.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698