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 var x = 0; | 10 var x = 0; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 ] | 89 ] |
90 | 90 |
91 --- | 91 --- |
92 snippet: " | 92 snippet: " |
93 var x = 1234; | 93 var x = 1234; |
94 var y = void (x * x - 1); | 94 var y = void (x * x - 1); |
95 return y; | 95 return y; |
96 " | 96 " |
97 frame size: 3 | 97 frame size: 3 |
98 parameter count: 1 | 98 parameter count: 1 |
99 bytecode array length: 23 | 99 bytecode array length: 22 |
100 bytecodes: [ | 100 bytecodes: [ |
101 /* 30 E> */ B(StackCheck), | 101 /* 30 E> */ B(StackCheck), |
102 /* 42 S> */ B(Wide), B(LdaSmi), U16(1234), | 102 /* 42 S> */ B(Wide), B(LdaSmi), U16(1234), |
103 B(Star), R(0), | 103 B(Star), R(0), |
104 /* 56 S> */ B(Nop), | 104 /* 56 S> */ B(Nop), |
105 /* 66 E> */ B(Mul), R(0), U8(2), | 105 /* 66 E> */ B(Mul), R(0), U8(2), |
106 B(Star), R(2), | 106 B(Star), R(2), |
107 B(SubSmi), U8(1), R(2), U8(3), | 107 B(SubSmi), U8(1), R(2), U8(3), |
108 B(LdrUndefined), R(1), | 108 B(LdaUndefined), |
109 B(Ldar), R(1), | 109 B(Star), R(1), |
110 /* 74 S> */ B(Nop), | 110 /* 74 S> */ B(Nop), |
111 /* 84 S> */ B(Return), | 111 /* 84 S> */ B(Return), |
112 ] | 112 ] |
113 constant pool: [ | 113 constant pool: [ |
114 ] | 114 ] |
115 handlers: [ | 115 handlers: [ |
116 ] | 116 ] |
117 | 117 |
118 --- | 118 --- |
119 snippet: " | 119 snippet: " |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 B(Star), R(0), | 171 B(Star), R(0), |
172 /* 46 S> */ B(LdaSmi), U8(-1), | 172 /* 46 S> */ B(LdaSmi), U8(-1), |
173 B(Mul), R(0), U8(2), | 173 B(Mul), R(0), U8(2), |
174 /* 57 S> */ B(Return), | 174 /* 57 S> */ B(Return), |
175 ] | 175 ] |
176 constant pool: [ | 176 constant pool: [ |
177 ] | 177 ] |
178 handlers: [ | 178 handlers: [ |
179 ] | 179 ] |
180 | 180 |
OLD | NEW |