OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 pool type: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 11 matching lines...) Expand all Loading... |
22 constant pool: [ | 22 constant pool: [ |
23 InstanceType::FIXED_ARRAY_TYPE, | 23 InstanceType::FIXED_ARRAY_TYPE, |
24 ] | 24 ] |
25 handlers: [ | 25 handlers: [ |
26 ] | 26 ] |
27 | 27 |
28 --- | 28 --- |
29 snippet: " | 29 snippet: " |
30 var a = 1; return [ a, a + 1 ]; | 30 var a = 1; return [ a, a + 1 ]; |
31 " | 31 " |
32 frame size: 4 | 32 frame size: 3 |
33 parameter count: 1 | 33 parameter count: 1 |
34 bytecode array length: 39 | 34 bytecode array length: 35 |
35 bytecodes: [ | 35 bytecodes: [ |
36 /* 30 E> */ B(StackCheck), | 36 /* 30 E> */ B(StackCheck), |
37 /* 42 S> */ B(LdaSmi), U8(1), | 37 /* 42 S> */ B(LdaSmi), U8(1), |
38 B(Star), R(0), | 38 B(Star), R(0), |
39 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 39 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
40 B(Star), R(2), | 40 B(Star), R(2), |
41 B(LdaZero), | 41 B(LdaZero), |
42 B(Star), R(1), | 42 B(Star), R(1), |
43 /* 54 E> */ B(Ldar), R(0), | 43 /* 54 E> */ B(Ldar), R(0), |
44 B(StaKeyedPropertySloppy), R(2), R(1), U8(1), | 44 B(StaKeyedPropertySloppy), R(2), R(1), U8(1), |
45 B(LdaSmi), U8(1), | 45 B(LdaSmi), U8(1), |
46 B(Star), R(1), | 46 B(Star), R(1), |
47 /* 57 E> */ B(Ldar), R(0), | 47 /* 57 E> */ B(LdaSmi), U8(1), |
48 B(Star), R(3), | 48 B(Add), R(0), |
49 B(LdaSmi), U8(1), | |
50 B(Add), R(3), | |
51 B(StaKeyedPropertySloppy), R(2), R(1), U8(1), | 49 B(StaKeyedPropertySloppy), R(2), R(1), U8(1), |
52 B(Ldar), R(2), | 50 B(Ldar), R(2), |
53 /* 66 S> */ B(Return), | 51 /* 66 S> */ B(Return), |
54 ] | 52 ] |
55 constant pool: [ | 53 constant pool: [ |
56 InstanceType::FIXED_ARRAY_TYPE, | 54 InstanceType::FIXED_ARRAY_TYPE, |
57 ] | 55 ] |
58 handlers: [ | 56 handlers: [ |
59 ] | 57 ] |
60 | 58 |
(...skipping 12 matching lines...) Expand all Loading... |
73 constant pool: [ | 71 constant pool: [ |
74 InstanceType::FIXED_ARRAY_TYPE, | 72 InstanceType::FIXED_ARRAY_TYPE, |
75 ] | 73 ] |
76 handlers: [ | 74 handlers: [ |
77 ] | 75 ] |
78 | 76 |
79 --- | 77 --- |
80 snippet: " | 78 snippet: " |
81 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; | 79 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; |
82 " | 80 " |
83 frame size: 6 | 81 frame size: 5 |
84 parameter count: 1 | 82 parameter count: 1 |
85 bytecode array length: 69 | 83 bytecode array length: 65 |
86 bytecodes: [ | 84 bytecodes: [ |
87 /* 30 E> */ B(StackCheck), | 85 /* 30 E> */ B(StackCheck), |
88 /* 42 S> */ B(LdaSmi), U8(1), | 86 /* 42 S> */ B(LdaSmi), U8(1), |
89 B(Star), R(0), | 87 B(Star), R(0), |
90 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2), | 88 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2), |
91 B(Star), R(2), | 89 B(Star), R(2), |
92 B(LdaZero), | 90 B(LdaZero), |
93 B(Star), R(1), | 91 B(Star), R(1), |
94 B(CreateArrayLiteral), U8(1), U8(0), U8(3), | 92 B(CreateArrayLiteral), U8(1), U8(0), U8(3), |
95 B(Star), R(4), | 93 B(Star), R(4), |
96 B(LdaZero), | 94 B(LdaZero), |
97 B(Star), R(3), | 95 B(Star), R(3), |
98 /* 56 E> */ B(Ldar), R(0), | 96 /* 56 E> */ B(Ldar), R(0), |
99 B(StaKeyedPropertySloppy), R(4), R(3), U8(1), | 97 B(StaKeyedPropertySloppy), R(4), R(3), U8(1), |
100 B(Ldar), R(4), | 98 B(Ldar), R(4), |
101 B(StaKeyedPropertySloppy), R(2), R(1), U8(5), | 99 B(StaKeyedPropertySloppy), R(2), R(1), U8(5), |
102 B(LdaSmi), U8(1), | 100 B(LdaSmi), U8(1), |
103 B(Star), R(1), | 101 B(Star), R(1), |
104 B(CreateArrayLiteral), U8(2), U8(1), U8(3), | 102 B(CreateArrayLiteral), U8(2), U8(1), U8(3), |
105 B(Star), R(4), | 103 B(Star), R(4), |
106 B(LdaZero), | 104 B(LdaZero), |
107 B(Star), R(3), | 105 B(Star), R(3), |
108 /* 66 E> */ B(Ldar), R(0), | 106 /* 66 E> */ B(LdaSmi), U8(2), |
109 B(Star), R(5), | 107 B(Add), R(0), |
110 B(LdaSmi), U8(2), | |
111 B(Add), R(5), | |
112 B(StaKeyedPropertySloppy), R(4), R(3), U8(3), | 108 B(StaKeyedPropertySloppy), R(4), R(3), U8(3), |
113 B(Ldar), R(4), | 109 B(Ldar), R(4), |
114 B(StaKeyedPropertySloppy), R(2), R(1), U8(5), | 110 B(StaKeyedPropertySloppy), R(2), R(1), U8(5), |
115 B(Ldar), R(2), | 111 B(Ldar), R(2), |
116 /* 77 S> */ B(Return), | 112 /* 77 S> */ B(Return), |
117 ] | 113 ] |
118 constant pool: [ | 114 constant pool: [ |
119 InstanceType::FIXED_ARRAY_TYPE, | 115 InstanceType::FIXED_ARRAY_TYPE, |
120 InstanceType::FIXED_ARRAY_TYPE, | 116 InstanceType::FIXED_ARRAY_TYPE, |
121 InstanceType::FIXED_ARRAY_TYPE, | 117 InstanceType::FIXED_ARRAY_TYPE, |
122 ] | 118 ] |
123 handlers: [ | 119 handlers: [ |
124 ] | 120 ] |
125 | 121 |
OLD | NEW |