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: no | 8 wrap: no |
9 test function name: f | 9 test function name: f |
10 ignition generators: yes | 10 ignition generators: yes |
11 | 11 |
12 --- | 12 --- |
13 snippet: " | 13 snippet: " |
14 function* f() { } | 14 function* f() { } |
15 f(); | 15 f(); |
16 " | 16 " |
17 frame size: 11 | 17 frame size: 11 |
18 parameter count: 1 | 18 parameter count: 1 |
19 bytecode array length: 200 | 19 bytecode array length: 204 |
20 bytecodes: [ | 20 bytecodes: [ |
21 B(Ldar), R(new_target), | 21 B(Ldar), R(new_target), |
22 B(JumpIfUndefined), U8(20), | 22 B(JumpIfUndefined), U8(20), |
23 B(ResumeGenerator), R(new_target), | 23 B(ResumeGenerator), R(new_target), |
24 B(Star), R(1), | 24 B(Star), R(1), |
25 B(LdaZero), | 25 B(LdaZero), |
26 B(TestEqualStrict), R(1), | 26 B(TestEqualStrict), R(1), |
27 B(JumpIfTrue), U8(56), | 27 B(JumpIfTrue), U8(60), |
28 B(LdaSmi), U8(76), | 28 B(LdaSmi), U8(76), |
29 B(Star), R(2), | 29 B(Star), R(2), |
30 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 30 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 31 B(LdaSmi), U8(-2), |
| 32 B(Star), R(1), |
31 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 33 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
32 B(PushContext), R(0), | 34 B(PushContext), R(0), |
33 B(Ldar), R(this), | 35 B(Ldar), R(this), |
34 B(StaContextSlot), R(context), U8(4), | 36 B(StaContextSlot), R(context), U8(4), |
35 /* 11 E> */ B(StackCheck), | 37 /* 11 E> */ B(StackCheck), |
36 B(Mov), R(context), R(4), | 38 B(Mov), R(context), R(4), |
37 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), | 39 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), |
38 B(Ldar), R(6), | 40 B(Ldar), R(6), |
39 B(Mov), R(closure), R(5), | 41 B(Mov), R(closure), R(5), |
40 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8
(2), | 42 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8
(2), |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 B(Ldar), R(3), | 104 B(Ldar), R(3), |
103 /* 16 S> */ B(Return), | 105 /* 16 S> */ B(Return), |
104 B(Ldar), R(3), | 106 B(Ldar), R(3), |
105 B(ReThrow), | 107 B(ReThrow), |
106 B(LdaUndefined), | 108 B(LdaUndefined), |
107 /* 16 S> */ B(Return), | 109 /* 16 S> */ B(Return), |
108 ] | 110 ] |
109 constant pool: [ | 111 constant pool: [ |
110 ] | 112 ] |
111 handlers: [ | 113 handlers: [ |
112 [38, 137, 143], | 114 [42, 141, 147], |
113 ] | 115 ] |
114 | 116 |
115 --- | 117 --- |
116 snippet: " | 118 snippet: " |
117 function* f() { yield 42 } | 119 function* f() { yield 42 } |
118 f(); | 120 f(); |
119 " | 121 " |
120 frame size: 11 | 122 frame size: 11 |
121 parameter count: 1 | 123 parameter count: 1 |
122 bytecode array length: 293 | 124 bytecode array length: 297 |
123 bytecodes: [ | 125 bytecodes: [ |
124 B(Ldar), R(new_target), | 126 B(Ldar), R(new_target), |
125 B(JumpIfUndefined), U8(26), | 127 B(JumpIfUndefined), U8(26), |
126 B(ResumeGenerator), R(new_target), | 128 B(ResumeGenerator), R(new_target), |
127 B(Star), R(1), | 129 B(Star), R(1), |
128 B(LdaZero), | 130 B(LdaZero), |
129 B(TestEqualStrict), R(1), | 131 B(TestEqualStrict), R(1), |
130 B(JumpIfTrue), U8(62), | 132 B(JumpIfTrue), U8(66), |
131 B(LdaSmi), U8(1), | 133 B(LdaSmi), U8(1), |
132 B(TestEqualStrict), R(1), | 134 B(TestEqualStrict), R(1), |
133 B(JumpIfTrueConstant), U8(0), | 135 B(JumpIfTrueConstant), U8(0), |
134 B(LdaSmi), U8(76), | 136 B(LdaSmi), U8(76), |
135 B(Star), R(2), | 137 B(Star), R(2), |
136 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 138 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 139 B(LdaSmi), U8(-2), |
| 140 B(Star), R(1), |
137 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 141 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
138 B(PushContext), R(0), | 142 B(PushContext), R(0), |
139 B(Ldar), R(this), | 143 B(Ldar), R(this), |
140 B(StaContextSlot), R(context), U8(4), | 144 B(StaContextSlot), R(context), U8(4), |
141 /* 11 E> */ B(StackCheck), | 145 /* 11 E> */ B(StackCheck), |
142 B(Mov), R(context), R(4), | 146 B(Mov), R(context), R(4), |
143 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), | 147 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), |
144 B(Ldar), R(6), | 148 B(Ldar), R(6), |
145 B(Mov), R(closure), R(5), | 149 B(Mov), R(closure), R(5), |
146 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8
(2), | 150 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8
(2), |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 /* 25 S> */ B(Return), | 252 /* 25 S> */ B(Return), |
249 B(Ldar), R(3), | 253 B(Ldar), R(3), |
250 B(ReThrow), | 254 B(ReThrow), |
251 B(LdaUndefined), | 255 B(LdaUndefined), |
252 /* 25 S> */ B(Return), | 256 /* 25 S> */ B(Return), |
253 ] | 257 ] |
254 constant pool: [ | 258 constant pool: [ |
255 kInstanceTypeDontCare, | 259 kInstanceTypeDontCare, |
256 ] | 260 ] |
257 handlers: [ | 261 handlers: [ |
258 [44, 221, 227], | 262 [48, 225, 231], |
259 ] | 263 ] |
260 | 264 |
261 --- | 265 --- |
262 snippet: " | 266 snippet: " |
263 function* f() { for (let x of [42]) yield x } | 267 function* f() { for (let x of [42]) yield x } |
264 f(); | 268 f(); |
265 " | 269 " |
266 frame size: 17 | 270 frame size: 17 |
267 parameter count: 1 | 271 parameter count: 1 |
268 bytecode array length: 775 | 272 bytecode array length: 779 |
269 bytecodes: [ | 273 bytecodes: [ |
270 B(Ldar), R(new_target), | 274 B(Ldar), R(new_target), |
271 B(JumpIfUndefined), U8(26), | 275 B(JumpIfUndefined), U8(26), |
272 B(ResumeGenerator), R(new_target), | 276 B(ResumeGenerator), R(new_target), |
273 B(Star), R(3), | 277 B(Star), R(3), |
274 B(LdaZero), | 278 B(LdaZero), |
275 B(TestEqualStrict), R(3), | 279 B(TestEqualStrict), R(3), |
276 B(JumpIfTrue), U8(62), | 280 B(JumpIfTrue), U8(66), |
277 B(LdaSmi), U8(1), | 281 B(LdaSmi), U8(1), |
278 B(TestEqualStrict), R(3), | 282 B(TestEqualStrict), R(3), |
279 B(JumpIfTrueConstant), U8(3), | 283 B(JumpIfTrueConstant), U8(3), |
280 B(LdaSmi), U8(76), | 284 B(LdaSmi), U8(76), |
281 B(Star), R(4), | 285 B(Star), R(4), |
282 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 286 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
| 287 B(LdaSmi), U8(-2), |
| 288 B(Star), R(3), |
283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 289 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
284 B(PushContext), R(0), | 290 B(PushContext), R(0), |
285 B(Ldar), R(this), | 291 B(Ldar), R(this), |
286 B(StaContextSlot), R(context), U8(4), | 292 B(StaContextSlot), R(context), U8(4), |
287 /* 11 E> */ B(StackCheck), | 293 /* 11 E> */ B(StackCheck), |
288 B(Mov), R(context), R(6), | 294 B(Mov), R(context), R(6), |
289 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(8), | 295 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(8), |
290 B(Ldar), R(8), | 296 B(Ldar), R(8), |
291 B(Mov), R(closure), R(7), | 297 B(Mov), R(closure), R(7), |
292 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8
(2), | 298 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8
(2), |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 kInstanceTypeDontCare, | 600 kInstanceTypeDontCare, |
595 kInstanceTypeDontCare, | 601 kInstanceTypeDontCare, |
596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 602 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 603 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
598 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 604 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
599 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 605 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
600 kInstanceTypeDontCare, | 606 kInstanceTypeDontCare, |
601 kInstanceTypeDontCare, | 607 kInstanceTypeDontCare, |
602 ] | 608 ] |
603 handlers: [ | 609 handlers: [ |
604 [44, 694, 700], | 610 [48, 698, 704], |
605 [154, 448, 454], | 611 [158, 452, 458], |
606 [157, 402, 404], | 612 [161, 406, 408], |
607 [551, 563, 565], | 613 [555, 567, 569], |
608 ] | 614 ] |
609 | 615 |
OLD | NEW |