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: number | 6 pool type: number |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 ] | 63 ] |
64 handlers: [ | 64 handlers: [ |
65 ] | 65 ] |
66 | 66 |
67 --- | 67 --- |
68 snippet: " | 68 snippet: " |
69 var x = 4; return x * 3; | 69 var x = 4; return x * 3; |
70 " | 70 " |
71 frame size: 1 | 71 frame size: 1 |
72 parameter count: 1 | 72 parameter count: 1 |
73 bytecode array length: 10 | 73 bytecode array length: 11 |
74 bytecodes: [ | 74 bytecodes: [ |
75 /* 30 E> */ B(StackCheck), | 75 /* 30 E> */ B(StackCheck), |
76 /* 42 S> */ B(LdaSmi), U8(4), | 76 /* 42 S> */ B(LdaSmi), U8(4), |
77 B(Star), R(0), | 77 B(Star), R(0), |
78 /* 45 S> */ B(LdaSmi), U8(3), | 78 /* 45 S> */ B(LdaSmi), U8(3), |
79 B(Mul), R(0), | 79 B(Mul), R(0), U8(1), |
80 /* 59 S> */ B(Return), | 80 /* 59 S> */ B(Return), |
81 ] | 81 ] |
82 constant pool: [ | 82 constant pool: [ |
83 ] | 83 ] |
84 handlers: [ | 84 handlers: [ |
85 ] | 85 ] |
86 | 86 |
87 --- | 87 --- |
88 snippet: " | 88 snippet: " |
89 var x = 4; return x / 3; | 89 var x = 4; return x / 3; |
90 " | 90 " |
91 frame size: 1 | 91 frame size: 1 |
92 parameter count: 1 | 92 parameter count: 1 |
93 bytecode array length: 10 | 93 bytecode array length: 11 |
94 bytecodes: [ | 94 bytecodes: [ |
95 /* 30 E> */ B(StackCheck), | 95 /* 30 E> */ B(StackCheck), |
96 /* 42 S> */ B(LdaSmi), U8(4), | 96 /* 42 S> */ B(LdaSmi), U8(4), |
97 B(Star), R(0), | 97 B(Star), R(0), |
98 /* 45 S> */ B(LdaSmi), U8(3), | 98 /* 45 S> */ B(LdaSmi), U8(3), |
99 B(Div), R(0), | 99 B(Div), R(0), U8(1), |
100 /* 59 S> */ B(Return), | 100 /* 59 S> */ B(Return), |
101 ] | 101 ] |
102 constant pool: [ | 102 constant pool: [ |
103 ] | 103 ] |
104 handlers: [ | 104 handlers: [ |
105 ] | 105 ] |
106 | 106 |
107 --- | 107 --- |
108 snippet: " | 108 snippet: " |
109 var x = 4; return x % 3; | 109 var x = 4; return x % 3; |
110 " | 110 " |
111 frame size: 1 | 111 frame size: 1 |
112 parameter count: 1 | 112 parameter count: 1 |
113 bytecode array length: 10 | 113 bytecode array length: 11 |
114 bytecodes: [ | 114 bytecodes: [ |
115 /* 30 E> */ B(StackCheck), | 115 /* 30 E> */ B(StackCheck), |
116 /* 42 S> */ B(LdaSmi), U8(4), | 116 /* 42 S> */ B(LdaSmi), U8(4), |
117 B(Star), R(0), | 117 B(Star), R(0), |
118 /* 45 S> */ B(LdaSmi), U8(3), | 118 /* 45 S> */ B(LdaSmi), U8(3), |
119 B(Mod), R(0), | 119 B(Mod), R(0), U8(1), |
120 /* 59 S> */ B(Return), | 120 /* 59 S> */ B(Return), |
121 ] | 121 ] |
122 constant pool: [ | 122 constant pool: [ |
123 ] | 123 ] |
124 handlers: [ | 124 handlers: [ |
125 ] | 125 ] |
126 | 126 |
127 --- | 127 --- |
128 snippet: " | 128 snippet: " |
129 var x = 1; return x | 2; | 129 var x = 1; return x | 2; |
(...skipping 12 matching lines...) Expand all Loading... |
142 ] | 142 ] |
143 handlers: [ | 143 handlers: [ |
144 ] | 144 ] |
145 | 145 |
146 --- | 146 --- |
147 snippet: " | 147 snippet: " |
148 var x = 1; return x ^ 2; | 148 var x = 1; return x ^ 2; |
149 " | 149 " |
150 frame size: 1 | 150 frame size: 1 |
151 parameter count: 1 | 151 parameter count: 1 |
152 bytecode array length: 10 | 152 bytecode array length: 11 |
153 bytecodes: [ | 153 bytecodes: [ |
154 /* 30 E> */ B(StackCheck), | 154 /* 30 E> */ B(StackCheck), |
155 /* 42 S> */ B(LdaSmi), U8(1), | 155 /* 42 S> */ B(LdaSmi), U8(1), |
156 B(Star), R(0), | 156 B(Star), R(0), |
157 /* 45 S> */ B(LdaSmi), U8(2), | 157 /* 45 S> */ B(LdaSmi), U8(2), |
158 B(BitwiseXor), R(0), | 158 B(BitwiseXor), R(0), U8(1), |
159 /* 59 S> */ B(Return), | 159 /* 59 S> */ B(Return), |
160 ] | 160 ] |
161 constant pool: [ | 161 constant pool: [ |
162 ] | 162 ] |
163 handlers: [ | 163 handlers: [ |
164 ] | 164 ] |
165 | 165 |
166 --- | 166 --- |
167 snippet: " | 167 snippet: " |
168 var x = 1; return x & 2; | 168 var x = 1; return x & 2; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 ] | 219 ] |
220 handlers: [ | 220 handlers: [ |
221 ] | 221 ] |
222 | 222 |
223 --- | 223 --- |
224 snippet: " | 224 snippet: " |
225 var x = 10; return x >>> 3; | 225 var x = 10; return x >>> 3; |
226 " | 226 " |
227 frame size: 1 | 227 frame size: 1 |
228 parameter count: 1 | 228 parameter count: 1 |
229 bytecode array length: 10 | 229 bytecode array length: 11 |
230 bytecodes: [ | 230 bytecodes: [ |
231 /* 30 E> */ B(StackCheck), | 231 /* 30 E> */ B(StackCheck), |
232 /* 42 S> */ B(LdaSmi), U8(10), | 232 /* 42 S> */ B(LdaSmi), U8(10), |
233 B(Star), R(0), | 233 B(Star), R(0), |
234 /* 46 S> */ B(LdaSmi), U8(3), | 234 /* 46 S> */ B(LdaSmi), U8(3), |
235 B(ShiftRightLogical), R(0), | 235 B(ShiftRightLogical), R(0), U8(1), |
236 /* 62 S> */ B(Return), | 236 /* 62 S> */ B(Return), |
237 ] | 237 ] |
238 constant pool: [ | 238 constant pool: [ |
239 ] | 239 ] |
240 handlers: [ | 240 handlers: [ |
241 ] | 241 ] |
242 | 242 |
243 --- | 243 --- |
244 snippet: " | 244 snippet: " |
245 var x = 0; return (x, 3); | 245 var x = 0; return (x, 3); |
246 " | 246 " |
247 frame size: 1 | 247 frame size: 1 |
248 parameter count: 1 | 248 parameter count: 1 |
249 bytecode array length: 7 | 249 bytecode array length: 7 |
250 bytecodes: [ | 250 bytecodes: [ |
251 /* 30 E> */ B(StackCheck), | 251 /* 30 E> */ B(StackCheck), |
252 /* 42 S> */ B(LdaZero), | 252 /* 42 S> */ B(LdaZero), |
253 B(Star), R(0), | 253 B(Star), R(0), |
254 /* 45 S> */ B(LdaSmi), U8(3), | 254 /* 45 S> */ B(LdaSmi), U8(3), |
255 /* 60 S> */ B(Return), | 255 /* 60 S> */ B(Return), |
256 ] | 256 ] |
257 constant pool: [ | 257 constant pool: [ |
258 ] | 258 ] |
259 handlers: [ | 259 handlers: [ |
260 ] | 260 ] |
261 | 261 |
OLD | NEW |