OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: no | 6 wrap: no |
7 test function name: f | 7 test function name: f |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
11 function* f() { } | 11 function* f() { } |
12 f(); | 12 f(); |
13 " | 13 " |
14 frame size: 5 | 14 frame size: 5 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 104 | 16 bytecode array length: 92 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(Mov), R(new_target), R(1), | 18 B(Mov), R(new_target), R(1), |
19 B(Ldar), R(new_target), | 19 B(Ldar), R(new_target), |
20 B(JumpIfUndefined), U8(25), | 20 B(JumpIfUndefined), U8(25), |
21 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(1), U8
(1), | 21 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(1), U8
(1), |
22 B(PushContext), R(3), | 22 B(PushContext), R(3), |
23 B(RestoreGeneratorState), R(1), | 23 B(RestoreGeneratorState), R(1), |
24 B(Star), R(2), | 24 B(Star), R(2), |
25 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 25 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
26 B(LdaSmi), I8(79), | 26 B(LdaSmi), I8(79), |
(...skipping 14 matching lines...) Expand all Loading... |
41 /* 16 S> */ B(Return), | 41 /* 16 S> */ B(Return), |
42 B(RestoreGeneratorRegisters), R(1), R(0), U8(3), | 42 B(RestoreGeneratorRegisters), R(1), R(0), U8(3), |
43 B(LdaSmi), I8(-2), | 43 B(LdaSmi), I8(-2), |
44 B(Star), R(2), | 44 B(Star), R(2), |
45 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(1), U8(1), | 45 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(1), U8(1), |
46 B(Star), R(3), | 46 B(Star), R(3), |
47 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(1),
U8(1), | 47 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(1),
U8(1), |
48 B(SwitchOnSmiNoFeedback), U8(1), U8(2), I8(0), | 48 B(SwitchOnSmiNoFeedback), U8(1), U8(2), I8(0), |
49 B(Ldar), R(3), | 49 B(Ldar), R(3), |
50 /* 11 E> */ B(Throw), | 50 /* 11 E> */ B(Throw), |
51 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(1), U8(1), | |
52 B(Ldar), R(3), | 51 B(Ldar), R(3), |
53 /* 16 S> */ B(Return), | 52 /* 16 S> */ B(Return), |
54 B(LdaUndefined), | 53 B(LdaUndefined), |
55 B(Star), R(3), | |
56 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(1), U8(1), | |
57 B(Ldar), R(3), | |
58 /* 16 S> */ B(Return), | 54 /* 16 S> */ B(Return), |
59 ] | 55 ] |
60 constant pool: [ | 56 constant pool: [ |
61 Smi [45], | 57 Smi [45], |
62 Smi [14], | 58 Smi [10], |
63 Smi [7], | 59 Smi [7], |
64 ] | 60 ] |
65 handlers: [ | 61 handlers: [ |
66 ] | 62 ] |
67 | 63 |
68 --- | 64 --- |
69 snippet: " | 65 snippet: " |
70 function* f() { yield 42 } | 66 function* f() { yield 42 } |
71 f(); | 67 f(); |
72 " | 68 " |
73 frame size: 6 | 69 frame size: 6 |
74 parameter count: 1 | 70 parameter count: 1 |
75 bytecode array length: 158 | 71 bytecode array length: 142 |
76 bytecodes: [ | 72 bytecodes: [ |
77 B(Mov), R(new_target), R(1), | 73 B(Mov), R(new_target), R(1), |
78 B(Ldar), R(new_target), | 74 B(Ldar), R(new_target), |
79 B(JumpIfUndefined), U8(25), | 75 B(JumpIfUndefined), U8(25), |
80 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(1), U8
(1), | 76 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(1), U8
(1), |
81 B(PushContext), R(3), | 77 B(PushContext), R(3), |
82 B(RestoreGeneratorState), R(1), | 78 B(RestoreGeneratorState), R(1), |
83 B(Star), R(2), | 79 B(Star), R(2), |
84 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), | 80 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), |
85 B(LdaSmi), I8(79), | 81 B(LdaSmi), I8(79), |
(...skipping 14 matching lines...) Expand all Loading... |
100 /* 25 S> */ B(Return), | 96 /* 25 S> */ B(Return), |
101 B(RestoreGeneratorRegisters), R(1), R(0), U8(3), | 97 B(RestoreGeneratorRegisters), R(1), R(0), U8(3), |
102 B(LdaSmi), I8(-2), | 98 B(LdaSmi), I8(-2), |
103 B(Star), R(2), | 99 B(Star), R(2), |
104 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(1), U8(1), | 100 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(1), U8(1), |
105 B(Star), R(3), | 101 B(Star), R(3), |
106 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(1),
U8(1), | 102 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(1),
U8(1), |
107 B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), | 103 B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), |
108 B(Ldar), R(3), | 104 B(Ldar), R(3), |
109 /* 11 E> */ B(Throw), | 105 /* 11 E> */ B(Throw), |
110 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(1), U8(1), | |
111 B(Ldar), R(3), | 106 B(Ldar), R(3), |
112 /* 25 S> */ B(Return), | 107 /* 25 S> */ B(Return), |
113 /* 16 S> */ B(LdaSmi), I8(42), | 108 /* 16 S> */ B(LdaSmi), I8(42), |
114 B(Star), R(3), | 109 B(Star), R(3), |
115 B(LdaSmi), I8(1), | 110 B(LdaSmi), I8(1), |
116 B(SuspendGenerator), R(1), R(0), U8(3), U8(0), | 111 B(SuspendGenerator), R(1), R(0), U8(3), U8(0), |
117 B(LdaFalse), | 112 B(LdaFalse), |
118 B(Star), R(5), | 113 B(Star), R(5), |
119 B(Mov), R(3), R(4), | 114 B(Mov), R(3), R(4), |
120 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), | 115 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), |
121 /* 25 S> */ B(Return), | 116 /* 25 S> */ B(Return), |
122 B(RestoreGeneratorRegisters), R(1), R(0), U8(3), | 117 B(RestoreGeneratorRegisters), R(1), R(0), U8(3), |
123 B(LdaSmi), I8(-2), | 118 B(LdaSmi), I8(-2), |
124 B(Star), R(2), | 119 B(Star), R(2), |
125 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(1), U8(1), | 120 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(1), U8(1), |
126 B(Star), R(3), | 121 B(Star), R(3), |
127 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(1),
U8(1), | 122 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(1),
U8(1), |
128 B(SwitchOnSmiNoFeedback), U8(4), U8(2), I8(0), | 123 B(SwitchOnSmiNoFeedback), U8(4), U8(2), I8(0), |
129 B(Ldar), R(3), | 124 B(Ldar), R(3), |
130 /* 16 E> */ B(Throw), | 125 /* 16 E> */ B(Throw), |
131 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(1), U8(1), | |
132 B(Ldar), R(3), | 126 B(Ldar), R(3), |
133 /* 25 S> */ B(Return), | 127 /* 25 S> */ B(Return), |
134 B(LdaUndefined), | 128 B(LdaUndefined), |
135 B(Star), R(3), | |
136 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(1), U8(1), | |
137 B(Ldar), R(3), | |
138 /* 25 S> */ B(Return), | 129 /* 25 S> */ B(Return), |
139 ] | 130 ] |
140 constant pool: [ | 131 constant pool: [ |
141 Smi [45], | 132 Smi [45], |
142 Smi [99], | 133 Smi [95], |
143 Smi [14], | 134 Smi [10], |
144 Smi [7], | 135 Smi [7], |
145 Smi [14], | 136 Smi [10], |
146 Smi [7], | 137 Smi [7], |
147 ] | 138 ] |
148 handlers: [ | 139 handlers: [ |
149 ] | 140 ] |
150 | 141 |
151 --- | 142 --- |
152 snippet: " | 143 snippet: " |
153 function* f() { for (let x of [42]) yield x } | 144 function* f() { for (let x of [42]) yield x } |
154 f(); | 145 f(); |
155 " | 146 " |
156 frame size: 19 | 147 frame size: 19 |
157 parameter count: 1 | 148 parameter count: 1 |
158 bytecode array length: 447 | 149 bytecode array length: 431 |
159 bytecodes: [ | 150 bytecodes: [ |
160 B(Mov), R(new_target), R(10), | 151 B(Mov), R(new_target), R(10), |
161 B(Ldar), R(new_target), | 152 B(Ldar), R(new_target), |
162 B(JumpIfUndefined), U8(25), | 153 B(JumpIfUndefined), U8(25), |
163 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(10), U
8(1), | 154 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(10), U
8(1), |
164 B(PushContext), R(12), | 155 B(PushContext), R(12), |
165 B(RestoreGeneratorState), R(10), | 156 B(RestoreGeneratorState), R(10), |
166 B(Star), R(11), | 157 B(Star), R(11), |
167 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), | 158 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), |
168 B(LdaSmi), I8(79), | 159 B(LdaSmi), I8(79), |
(...skipping 14 matching lines...) Expand all Loading... |
183 /* 44 S> */ B(Return), | 174 /* 44 S> */ B(Return), |
184 B(RestoreGeneratorRegisters), R(10), R(0), U8(12), | 175 B(RestoreGeneratorRegisters), R(10), R(0), U8(12), |
185 B(LdaSmi), I8(-2), | 176 B(LdaSmi), I8(-2), |
186 B(Star), R(11), | 177 B(Star), R(11), |
187 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(10), U8(1), | 178 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(10), U8(1), |
188 B(Star), R(12), | 179 B(Star), R(12), |
189 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(10)
, U8(1), | 180 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(10)
, U8(1), |
190 B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), | 181 B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), |
191 B(Ldar), R(12), | 182 B(Ldar), R(12), |
192 /* 11 E> */ B(Throw), | 183 /* 11 E> */ B(Throw), |
193 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1), | |
194 B(Ldar), R(12), | 184 B(Ldar), R(12), |
195 /* 44 S> */ B(Return), | 185 /* 44 S> */ B(Return), |
196 B(LdaZero), | 186 B(LdaZero), |
197 B(Star), R(6), | 187 B(Star), R(6), |
198 B(Mov), R(context), R(14), | 188 B(Mov), R(context), R(14), |
199 B(Mov), R(context), R(15), | 189 B(Mov), R(context), R(15), |
200 /* 30 S> */ B(CreateArrayLiteral), U8(4), U8(3), U8(17), | 190 /* 30 S> */ B(CreateArrayLiteral), U8(4), U8(3), U8(17), |
201 B(Star), R(16), | 191 B(Star), R(16), |
202 B(LdaNamedProperty), R(16), U8(5), U8(4), | 192 B(LdaNamedProperty), R(16), U8(5), U8(4), |
203 B(Star), R(17), | 193 B(Star), R(17), |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 B(InvokeIntrinsic), U8(Runtime::k_Call), R(15), U8(2), | 309 B(InvokeIntrinsic), U8(Runtime::k_Call), R(15), U8(2), |
320 B(Star), R(9), | 310 B(Star), R(9), |
321 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1), | 311 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1), |
322 B(JumpIfToBooleanFalse), U8(4), | 312 B(JumpIfToBooleanFalse), U8(4), |
323 B(Jump), U8(7), | 313 B(Jump), U8(7), |
324 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(9), U8(1), | 314 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(9), U8(1), |
325 B(Ldar), R(14), | 315 B(Ldar), R(14), |
326 B(SetPendingMessage), | 316 B(SetPendingMessage), |
327 B(Ldar), R(12), | 317 B(Ldar), R(12), |
328 B(SwitchOnSmiNoFeedback), U8(17), U8(2), I8(0), | 318 B(SwitchOnSmiNoFeedback), U8(17), U8(2), I8(0), |
329 B(Jump), U8(12), | 319 B(Jump), U8(8), |
330 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1), | |
331 B(Ldar), R(13), | 320 B(Ldar), R(13), |
332 /* 44 S> */ B(Return), | 321 /* 44 S> */ B(Return), |
333 B(Ldar), R(13), | 322 B(Ldar), R(13), |
334 B(ReThrow), | 323 B(ReThrow), |
335 B(LdaUndefined), | 324 B(LdaUndefined), |
336 B(Star), R(12), | |
337 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1), | |
338 B(Ldar), R(12), | |
339 /* 44 S> */ B(Return), | 325 /* 44 S> */ B(Return), |
340 ] | 326 ] |
341 constant pool: [ | 327 constant pool: [ |
342 Smi [45], | 328 Smi [45], |
343 Smi [111], | 329 Smi [107], |
344 Smi [14], | 330 Smi [10], |
345 Smi [7], | 331 Smi [7], |
346 TUPLE2_TYPE, | 332 TUPLE2_TYPE, |
347 SYMBOL_TYPE, | 333 SYMBOL_TYPE, |
348 Smi [87], | 334 Smi [87], |
349 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 335 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
350 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 336 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
351 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 337 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
352 Smi [15], | 338 Smi [15], |
353 Smi [7], | 339 Smi [7], |
354 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 340 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
355 FIXED_ARRAY_TYPE, | 341 FIXED_ARRAY_TYPE, |
356 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 342 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
357 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 343 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
358 FIXED_ARRAY_TYPE, | 344 FIXED_ARRAY_TYPE, |
359 Smi [6], | 345 Smi [6], |
360 Smi [13], | 346 Smi [9], |
361 ] | 347 ] |
362 handlers: [ | 348 handlers: [ |
363 [100, 292, 298], | 349 [96, 288, 294], |
364 [103, 256, 258], | 350 [99, 252, 254], |
365 [359, 369, 371], | 351 [355, 365, 367], |
366 ] | 352 ] |
367 | 353 |
368 --- | 354 --- |
369 snippet: " | 355 snippet: " |
370 function* g() { yield 42 } | 356 function* g() { yield 42 } |
371 function* f() { yield* g() } | 357 function* f() { yield* g() } |
372 f(); | 358 f(); |
373 " | 359 " |
374 frame size: 15 | 360 frame size: 15 |
375 parameter count: 1 | 361 parameter count: 1 |
376 bytecode array length: 500 | 362 bytecode array length: 476 |
377 bytecodes: [ | 363 bytecodes: [ |
378 B(Mov), R(new_target), R(9), | 364 B(Mov), R(new_target), R(9), |
379 B(Ldar), R(new_target), | 365 B(Ldar), R(new_target), |
380 B(JumpIfUndefined), U8(25), | 366 B(JumpIfUndefined), U8(25), |
381 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(9), U8
(1), | 367 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(9), U8
(1), |
382 B(PushContext), R(11), | 368 B(PushContext), R(11), |
383 B(RestoreGeneratorState), R(9), | 369 B(RestoreGeneratorState), R(9), |
384 B(Star), R(10), | 370 B(Star), R(10), |
385 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), | 371 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), |
386 B(LdaSmi), I8(79), | 372 B(LdaSmi), I8(79), |
(...skipping 14 matching lines...) Expand all Loading... |
401 /* 54 S> */ B(Return), | 387 /* 54 S> */ B(Return), |
402 B(RestoreGeneratorRegisters), R(9), R(0), U8(11), | 388 B(RestoreGeneratorRegisters), R(9), R(0), U8(11), |
403 B(LdaSmi), I8(-2), | 389 B(LdaSmi), I8(-2), |
404 B(Star), R(10), | 390 B(Star), R(10), |
405 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(9), U8(1), | 391 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(9), U8(1), |
406 B(Star), R(11), | 392 B(Star), R(11), |
407 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(9),
U8(1), | 393 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(9),
U8(1), |
408 B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), | 394 B(SwitchOnSmiNoFeedback), U8(2), U8(2), I8(0), |
409 B(Ldar), R(11), | 395 B(Ldar), R(11), |
410 /* 38 E> */ B(Throw), | 396 /* 38 E> */ B(Throw), |
411 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(9), U8(1), | |
412 B(Ldar), R(11), | 397 B(Ldar), R(11), |
413 /* 54 S> */ B(Return), | 398 /* 54 S> */ B(Return), |
414 /* 43 S> */ B(LdaUndefined), | 399 /* 43 S> */ B(LdaUndefined), |
415 B(Star), R(1), | 400 B(Star), R(1), |
416 B(LdaZero), | 401 B(LdaZero), |
417 B(Star), R(2), | 402 B(Star), R(2), |
418 B(LdaUndefined), | 403 B(LdaUndefined), |
419 B(Star), R(3), | 404 B(Star), R(3), |
420 B(LdaGlobal), U8(4), U8(5), | 405 B(LdaGlobal), U8(4), U8(5), |
421 B(Star), R(13), | 406 B(Star), R(13), |
(...skipping 16 matching lines...) Expand all Loading... |
438 B(StackCheck), | 423 B(StackCheck), |
439 B(LdaZero), | 424 B(LdaZero), |
440 B(TestEqualStrict), R(2), U8(15), | 425 B(TestEqualStrict), R(2), U8(15), |
441 B(Mov), R(2), R(11), | 426 B(Mov), R(2), R(11), |
442 B(JumpIfTrue), U8(18), | 427 B(JumpIfTrue), U8(18), |
443 B(LdaSmi), I8(1), | 428 B(LdaSmi), I8(1), |
444 B(TestEqualStrict), R(11), U8(19), | 429 B(TestEqualStrict), R(11), U8(19), |
445 B(JumpIfTrue), U8(39), | 430 B(JumpIfTrue), U8(39), |
446 B(LdaSmi), I8(2), | 431 B(LdaSmi), I8(2), |
447 B(TestEqualStrict), R(11), U8(28), | 432 B(TestEqualStrict), R(11), U8(28), |
448 B(JumpIfTrue), U8(78), | 433 B(JumpIfTrue), U8(74), |
449 B(Jump), U8(236), | 434 B(Jump), U8(232), |
450 B(LdaNamedProperty), R(4), U8(7), U8(13), | 435 B(LdaNamedProperty), R(4), U8(7), U8(13), |
451 B(Star), R(12), | 436 B(Star), R(12), |
452 B(CallProperty1), R(12), R(4), R(1), U8(11), | 437 B(CallProperty1), R(12), R(4), R(1), U8(11), |
453 B(Star), R(3), | 438 B(Star), R(3), |
454 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), | 439 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
455 B(JumpIfToBooleanFalse), U8(4), | 440 B(JumpIfToBooleanFalse), U8(4), |
456 B(Jump), U8(7), | 441 B(Jump), U8(7), |
457 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), | 442 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), |
458 B(Jump), U8(208), | 443 B(Jump), U8(204), |
459 B(LdaNamedProperty), R(4), U8(8), U8(16), | 444 B(LdaNamedProperty), R(4), U8(8), U8(16), |
460 B(Star), R(3), | 445 B(Star), R(3), |
461 B(TestUndetectable), | 446 B(TestUndetectable), |
462 B(JumpIfFalse), U8(9), | 447 B(JumpIfFalse), U8(5), |
463 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(9), U8(1), | |
464 B(Ldar), R(1), | 448 B(Ldar), R(1), |
465 /* 54 S> */ B(Return), | 449 /* 54 S> */ B(Return), |
466 B(Mov), R(3), R(12), | 450 B(Mov), R(3), R(12), |
467 B(Mov), R(4), R(13), | 451 B(Mov), R(4), R(13), |
468 B(Mov), R(1), R(14), | 452 B(Mov), R(1), R(14), |
469 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(3), | 453 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(3), |
470 B(Star), R(3), | 454 B(Star), R(3), |
471 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), | 455 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
472 B(JumpIfToBooleanFalse), U8(4), | 456 B(JumpIfToBooleanFalse), U8(4), |
473 B(Jump), U8(7), | 457 B(Jump), U8(7), |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 B(Ldar), R(11), | 529 B(Ldar), R(11), |
546 /* 54 S> */ B(Return), | 530 /* 54 S> */ B(Return), |
547 B(RestoreGeneratorRegisters), R(9), R(0), U8(11), | 531 B(RestoreGeneratorRegisters), R(9), R(0), U8(11), |
548 B(LdaSmi), I8(-2), | 532 B(LdaSmi), I8(-2), |
549 B(Star), R(10), | 533 B(Star), R(10), |
550 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(9), U8(1), | 534 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(9), U8(1), |
551 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(0), U8(1), | 535 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(0), U8(1), |
552 B(Star), R(1), | 536 B(Star), R(1), |
553 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0),
U8(1), | 537 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0),
U8(1), |
554 B(Star), R(2), | 538 B(Star), R(2), |
555 B(Wide), B(JumpLoop), U16(327), I16(0), | 539 B(Wide), B(JumpLoop), U16(323), I16(0), |
556 B(LdaSmi), I8(1), | 540 B(LdaSmi), I8(1), |
557 B(TestEqualStrict), R(2), U8(31), | 541 B(TestEqualStrict), R(2), U8(31), |
558 B(JumpIfFalse), U8(15), | 542 B(JumpIfFalse), U8(7), |
559 B(LdaNamedProperty), R(3), U8(14), U8(32), | 543 B(LdaNamedProperty), R(3), U8(14), U8(32), |
560 B(Star), R(11), | |
561 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(9), U8(1), | |
562 B(Ldar), R(11), | |
563 /* 54 S> */ B(Return), | 544 /* 54 S> */ B(Return), |
564 B(LdaNamedProperty), R(3), U8(14), U8(34), | 545 B(LdaNamedProperty), R(3), U8(14), U8(34), |
565 B(Star), R(8), | 546 B(Star), R(8), |
566 B(LdaUndefined), | 547 B(LdaUndefined), |
567 B(Star), R(11), | |
568 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(9), U8(1), | |
569 B(Ldar), R(11), | |
570 /* 54 S> */ B(Return), | 548 /* 54 S> */ B(Return), |
571 ] | 549 ] |
572 constant pool: [ | 550 constant pool: [ |
573 Smi [45], | 551 Smi [45], |
574 Smi [115], | 552 Smi [111], |
575 Smi [14], | 553 Smi [10], |
576 Smi [7], | 554 Smi [7], |
577 ONE_BYTE_INTERNALIZED_STRING_TYPE ["g"], | 555 ONE_BYTE_INTERNALIZED_STRING_TYPE ["g"], |
578 SYMBOL_TYPE, | 556 SYMBOL_TYPE, |
579 Smi [300], | 557 Smi [296], |
580 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 558 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
581 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 559 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
582 ONE_BYTE_INTERNALIZED_STRING_TYPE ["throw"], | 560 ONE_BYTE_INTERNALIZED_STRING_TYPE ["throw"], |
583 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 561 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
584 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 562 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
585 FIXED_ARRAY_TYPE, | 563 FIXED_ARRAY_TYPE, |
586 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 564 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
587 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 565 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
588 ] | 566 ] |
589 handlers: [ | 567 handlers: [ |
590 [310, 320, 322], | 568 [302, 312, 314], |
591 ] | 569 ] |
592 | 570 |
OLD | NEW |