OLD | NEW |
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(17), |
18 /* 51 S> */ B(Return), | 18 /* 51 S> */ B(Return), |
19 ] | 19 ] |
20 constant pool: [ | 20 constant pool: [ |
21 TUPLE2_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 |
32 bytecode array length: 36 | 32 bytecode array length: 36 |
33 bytecodes: [ | 33 bytecodes: [ |
34 /* 30 E> */ B(StackCheck), | 34 /* 30 E> */ B(StackCheck), |
35 /* 42 S> */ B(LdaSmi), I8(1), | 35 /* 42 S> */ B(LdaSmi), I8(1), |
36 B(Star), R(0), | 36 B(Star), R(0), |
37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(3), U8(9), | 37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(3), U8(17), |
38 B(Star), R(2), | 38 B(Star), R(2), |
39 B(LdaZero), | 39 B(LdaZero), |
40 B(Star), R(1), | 40 B(Star), R(1), |
41 B(Ldar), R(0), | 41 B(Ldar), R(0), |
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), |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 parameter count: 1 | 80 parameter count: 1 |
81 bytecode array length: 66 | 81 bytecode array length: 66 |
82 bytecodes: [ | 82 bytecodes: [ |
83 /* 30 E> */ B(StackCheck), | 83 /* 30 E> */ B(StackCheck), |
84 /* 42 S> */ B(LdaSmi), I8(1), | 84 /* 42 S> */ B(LdaSmi), I8(1), |
85 B(Star), R(0), | 85 B(Star), R(0), |
86 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(9), U8(0), | 86 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(9), U8(0), |
87 B(Star), R(2), | 87 B(Star), R(2), |
88 B(LdaZero), | 88 B(LdaZero), |
89 B(Star), R(1), | 89 B(Star), R(1), |
90 B(CreateArrayLiteral), U8(1), U8(2), U8(9), | 90 B(CreateArrayLiteral), U8(1), U8(2), U8(17), |
91 B(Star), R(4), | 91 B(Star), R(4), |
92 B(LdaZero), | 92 B(LdaZero), |
93 B(Star), R(3), | 93 B(Star), R(3), |
94 B(Ldar), R(0), | 94 B(Ldar), R(0), |
95 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(3), | 95 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(3), |
96 B(Ldar), R(4), | 96 B(Ldar), R(4), |
97 B(StaKeyedPropertySloppy), R(2), R(1), U8(10), | 97 B(StaKeyedPropertySloppy), R(2), R(1), U8(10), |
98 B(LdaSmi), I8(1), | 98 B(LdaSmi), I8(1), |
99 B(Star), R(1), | 99 B(Star), R(1), |
100 B(CreateArrayLiteral), U8(2), U8(6), U8(9), | 100 B(CreateArrayLiteral), U8(2), U8(6), U8(17), |
101 B(Star), R(4), | 101 B(Star), R(4), |
102 B(LdaZero), | 102 B(LdaZero), |
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 TUPLE2_TYPE, | 113 TUPLE2_TYPE, |
114 TUPLE2_TYPE, | 114 TUPLE2_TYPE, |
115 TUPLE2_TYPE, | 115 TUPLE2_TYPE, |
116 ] | 116 ] |
117 handlers: [ | 117 handlers: [ |
118 ] | 118 ] |
119 | 119 |
OLD | NEW |