OLD | NEW |
(Empty) | |
| 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # |
| 4 |
| 5 --- |
| 6 pool type: mixed |
| 7 execute: yes |
| 8 wrap: no |
| 9 test function name: f |
| 10 ignition generators: yes |
| 11 |
| 12 --- |
| 13 snippet: " |
| 14 function* f() { } |
| 15 " |
| 16 frame size: 11 |
| 17 parameter count: 1 |
| 18 bytecode array length: 201 |
| 19 bytecodes: [ |
| 20 B(Ldar), R(new_target), |
| 21 B(JumpIfUndefined), U8(15), |
| 22 B(CallRuntime), U16(Runtime::kResumeIgnitionGenerator), R(new_target), U8(1), |
| 23 B(Star), R(1), |
| 24 B(LdaZero), |
| 25 B(TestEqualStrict), R(1), |
| 26 B(JumpIfTrue), U8(54), |
| 27 B(Illegal), |
| 28 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
| 29 B(PushContext), R(0), |
| 30 B(Ldar), R(this), |
| 31 B(StaContextSlot), R(context), U8(4), |
| 32 B(StackCheck), |
| 33 B(Mov), R(context), R(3), |
| 34 B(Ldar), R(closure), |
| 35 B(Star), R(4), |
| 36 B(LdaContextSlot), R(context), U8(4), |
| 37 B(Star), R(5), |
| 38 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2), |
| 39 B(StaContextSlot), R(context), U8(5), |
| 40 B(Star), R(4), |
| 41 B(LdaContextSlot), R(context), U8(5), |
| 42 B(Star), R(5), |
| 43 B(LdaZero), |
| 44 B(Star), R(6), |
| 45 B(CallRuntime), U16(Runtime::kSuspendIgnitionGenerator), R(5), U8(2), |
| 46 B(Ldar), R(4), |
| 47 B(Return), |
| 48 B(CallRuntime), U16(Runtime::kGeneratorGetInput), R(5), U8(1), |
| 49 B(Star), R(7), |
| 50 B(CallRuntime), U16(Runtime::kGeneratorGetResumeMode), R(5), U8(1), |
| 51 B(Star), R(8), |
| 52 B(LdaZero), |
| 53 B(TestEqualStrict), R(8), |
| 54 B(JumpIfTrue), U8(31), |
| 55 B(LdaSmi), U8(2), |
| 56 B(TestEqualStrict), R(8), |
| 57 B(JumpIfTrue), U8(22), |
| 58 B(Jump), U8(2), |
| 59 B(Mov), R(7), R(9), |
| 60 B(LdaTrue), |
| 61 B(Star), R(10), |
| 62 B(CallRuntime), U16(Runtime::kCreateIterResultObject), R(9), U8(2), |
| 63 B(Star), R(2), |
| 64 B(LdaZero), |
| 65 B(Star), R(1), |
| 66 B(Jump), U8(38), |
| 67 B(Ldar), R(7), |
| 68 B(Throw), |
| 69 B(Ldar), R(7), |
| 70 B(LdaUndefined), |
| 71 B(Star), R(4), |
| 72 B(LdaTrue), |
| 73 B(Star), R(5), |
| 74 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(4), U8(2), |
| 75 B(Star), R(2), |
| 76 B(LdaSmi), U8(1), |
| 77 B(Star), R(1), |
| 78 B(Jump), U8(14), |
| 79 B(LdaSmi), U8(-1), |
| 80 B(Star), R(1), |
| 81 B(Jump), U8(8), |
| 82 B(Star), R(2), |
| 83 B(LdaSmi), U8(2), |
| 84 B(Star), R(1), |
| 85 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
| 86 B(Star), R(3), |
| 87 B(LdaContextSlot), R(context), U8(5), |
| 88 B(Star), R(4), |
| 89 B(CallRuntime), U16(Runtime::kGeneratorClose), R(4), U8(1), |
| 90 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(3), U8(1), |
| 91 B(LdaZero), |
| 92 B(TestEqualStrict), R(1), |
| 93 B(JumpIfTrue), U8(16), |
| 94 B(LdaSmi), U8(1), |
| 95 B(TestEqualStrict), R(1), |
| 96 B(JumpIfTrue), U8(13), |
| 97 B(LdaSmi), U8(2), |
| 98 B(TestEqualStrict), R(1), |
| 99 B(JumpIfTrue), U8(10), |
| 100 B(Jump), U8(11), |
| 101 B(Ldar), R(2), |
| 102 B(Return), |
| 103 B(Ldar), R(2), |
| 104 B(Return), |
| 105 B(Ldar), R(2), |
| 106 B(ReThrow), |
| 107 B(LdaUndefined), |
| 108 B(Return), |
| 109 ] |
| 110 constant pool: [ |
| 111 ] |
| 112 handlers: [ |
| 113 [33, 137, 143], |
| 114 ] |
| 115 |
| 116 --- |
| 117 snippet: " |
| 118 function* f() { yield 42 } |
| 119 " |
| 120 frame size: 11 |
| 121 parameter count: 1 |
| 122 bytecode array length: 298 |
| 123 bytecodes: [ |
| 124 B(Ldar), R(new_target), |
| 125 B(JumpIfUndefined), U8(21), |
| 126 B(CallRuntime), U16(Runtime::kResumeIgnitionGenerator), R(new_target), U8(1), |
| 127 B(Star), R(1), |
| 128 B(LdaZero), |
| 129 B(TestEqualStrict), R(1), |
| 130 B(JumpIfTrue), U8(60), |
| 131 B(LdaSmi), U8(1), |
| 132 B(TestEqualStrict), R(1), |
| 133 B(JumpIfTrueConstant), U8(0), |
| 134 B(Illegal), |
| 135 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
| 136 B(PushContext), R(0), |
| 137 B(Ldar), R(this), |
| 138 B(StaContextSlot), R(context), U8(4), |
| 139 B(StackCheck), |
| 140 B(Mov), R(context), R(3), |
| 141 B(Ldar), R(closure), |
| 142 B(Star), R(4), |
| 143 B(LdaContextSlot), R(context), U8(4), |
| 144 B(Star), R(5), |
| 145 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2), |
| 146 B(StaContextSlot), R(context), U8(5), |
| 147 B(Star), R(4), |
| 148 B(LdaContextSlot), R(context), U8(5), |
| 149 B(Star), R(5), |
| 150 B(LdaZero), |
| 151 B(Star), R(6), |
| 152 B(CallRuntime), U16(Runtime::kSuspendIgnitionGenerator), R(5), U8(2), |
| 153 B(Ldar), R(4), |
| 154 B(Return), |
| 155 B(CallRuntime), U16(Runtime::kGeneratorGetInput), R(5), U8(1), |
| 156 B(Star), R(7), |
| 157 B(CallRuntime), U16(Runtime::kGeneratorGetResumeMode), R(5), U8(1), |
| 158 B(Star), R(8), |
| 159 B(LdaZero), |
| 160 B(TestEqualStrict), R(8), |
| 161 B(JumpIfTrue), U8(31), |
| 162 B(LdaSmi), U8(2), |
| 163 B(TestEqualStrict), R(8), |
| 164 B(JumpIfTrue), U8(22), |
| 165 B(Jump), U8(2), |
| 166 B(Mov), R(7), R(9), |
| 167 B(LdaTrue), |
| 168 B(Star), R(10), |
| 169 B(CallRuntime), U16(Runtime::kCreateIterResultObject), R(9), U8(2), |
| 170 B(Star), R(2), |
| 171 B(LdaZero), |
| 172 B(Star), R(1), |
| 173 B(Jump), U8(120), |
| 174 B(Ldar), R(7), |
| 175 B(Throw), |
| 176 B(Ldar), R(7), |
| 177 B(LdaSmi), U8(42), |
| 178 B(Star), R(4), |
| 179 B(LdaFalse), |
| 180 B(Star), R(5), |
| 181 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(4), U8(2), |
| 182 B(Star), R(6), |
| 183 B(LdaContextSlot), R(context), U8(5), |
| 184 B(Star), R(4), |
| 185 B(LdaSmi), U8(1), |
| 186 B(Star), R(5), |
| 187 B(CallRuntime), U16(Runtime::kSuspendIgnitionGenerator), R(4), U8(2), |
| 188 B(Ldar), R(6), |
| 189 B(Return), |
| 190 B(CallRuntime), U16(Runtime::kGeneratorGetInput), R(4), U8(1), |
| 191 B(Star), R(7), |
| 192 B(CallRuntime), U16(Runtime::kGeneratorGetResumeMode), R(4), U8(1), |
| 193 B(Star), R(8), |
| 194 B(LdaZero), |
| 195 B(TestEqualStrict), R(8), |
| 196 B(JumpIfTrue), U8(32), |
| 197 B(LdaSmi), U8(2), |
| 198 B(TestEqualStrict), R(8), |
| 199 B(JumpIfTrue), U8(23), |
| 200 B(Jump), U8(2), |
| 201 B(Mov), R(7), R(9), |
| 202 B(LdaTrue), |
| 203 B(Star), R(10), |
| 204 B(CallRuntime), U16(Runtime::kCreateIterResultObject), R(9), U8(2), |
| 205 B(Star), R(2), |
| 206 B(LdaSmi), U8(1), |
| 207 B(Star), R(1), |
| 208 B(Jump), U8(38), |
| 209 B(Ldar), R(7), |
| 210 B(Throw), |
| 211 B(Ldar), R(7), |
| 212 B(LdaUndefined), |
| 213 B(Star), R(4), |
| 214 B(LdaTrue), |
| 215 B(Star), R(5), |
| 216 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(4), U8(2), |
| 217 B(Star), R(2), |
| 218 B(LdaSmi), U8(2), |
| 219 B(Star), R(1), |
| 220 B(Jump), U8(14), |
| 221 B(LdaSmi), U8(-1), |
| 222 B(Star), R(1), |
| 223 B(Jump), U8(8), |
| 224 B(Star), R(2), |
| 225 B(LdaSmi), U8(3), |
| 226 B(Star), R(1), |
| 227 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
| 228 B(Star), R(3), |
| 229 B(LdaContextSlot), R(context), U8(5), |
| 230 B(Star), R(4), |
| 231 B(CallRuntime), U16(Runtime::kGeneratorClose), R(4), U8(1), |
| 232 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(3), U8(1), |
| 233 B(LdaZero), |
| 234 B(TestEqualStrict), R(1), |
| 235 B(JumpIfTrue), U8(22), |
| 236 B(LdaSmi), U8(1), |
| 237 B(TestEqualStrict), R(1), |
| 238 B(JumpIfTrue), U8(19), |
| 239 B(LdaSmi), U8(2), |
| 240 B(TestEqualStrict), R(1), |
| 241 B(JumpIfTrue), U8(16), |
| 242 B(LdaSmi), U8(3), |
| 243 B(TestEqualStrict), R(1), |
| 244 B(JumpIfTrue), U8(13), |
| 245 B(Jump), U8(14), |
| 246 B(Ldar), R(2), |
| 247 B(Return), |
| 248 B(Ldar), R(2), |
| 249 B(Return), |
| 250 B(Ldar), R(2), |
| 251 B(Return), |
| 252 B(Ldar), R(2), |
| 253 B(ReThrow), |
| 254 B(LdaUndefined), |
| 255 B(Return), |
| 256 ] |
| 257 constant pool: [ |
| 258 kInstanceTypeDontCare, |
| 259 ] |
| 260 handlers: [ |
| 261 [39, 225, 231], |
| 262 ] |
| 263 |
| 264 --- |
| 265 snippet: " |
| 266 function* f() { for (let x of [42]) yield x } |
| 267 " |
| 268 frame size: 17 |
| 269 parameter count: 1 |
| 270 bytecode array length: 786 |
| 271 bytecodes: [ |
| 272 B(Ldar), R(new_target), |
| 273 B(JumpIfUndefined), U8(21), |
| 274 B(CallRuntime), U16(Runtime::kResumeIgnitionGenerator), R(new_target), U8(1), |
| 275 B(Star), R(3), |
| 276 B(LdaZero), |
| 277 B(TestEqualStrict), R(3), |
| 278 B(JumpIfTrue), U8(60), |
| 279 B(LdaSmi), U8(1), |
| 280 B(TestEqualStrict), R(3), |
| 281 B(JumpIfTrueConstant), U8(8), |
| 282 B(Illegal), |
| 283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
| 284 B(PushContext), R(0), |
| 285 B(Ldar), R(this), |
| 286 B(StaContextSlot), R(context), U8(4), |
| 287 B(StackCheck), |
| 288 B(Mov), R(context), R(5), |
| 289 B(Ldar), R(closure), |
| 290 B(Star), R(6), |
| 291 B(LdaContextSlot), R(context), U8(4), |
| 292 B(Star), R(7), |
| 293 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8(2), |
| 294 B(StaContextSlot), R(context), U8(5), |
| 295 B(Star), R(6), |
| 296 B(LdaContextSlot), R(context), U8(5), |
| 297 B(Star), R(7), |
| 298 B(LdaZero), |
| 299 B(Star), R(8), |
| 300 B(CallRuntime), U16(Runtime::kSuspendIgnitionGenerator), R(7), U8(2), |
| 301 B(Ldar), R(6), |
| 302 B(Return), |
| 303 B(CallRuntime), U16(Runtime::kGeneratorGetInput), R(7), U8(1), |
| 304 B(Star), R(9), |
| 305 B(CallRuntime), U16(Runtime::kGeneratorGetResumeMode), R(7), U8(1), |
| 306 B(Star), R(10), |
| 307 B(LdaZero), |
| 308 B(TestEqualStrict), R(10), |
| 309 B(JumpIfTrue), U8(31), |
| 310 B(LdaSmi), U8(2), |
| 311 B(TestEqualStrict), R(10), |
| 312 B(JumpIfTrue), U8(22), |
| 313 B(Jump), U8(2), |
| 314 B(Mov), R(9), R(11), |
| 315 B(LdaTrue), |
| 316 B(Star), R(12), |
| 317 B(CallRuntime), U16(Runtime::kCreateIterResultObject), R(11), U8(2), |
| 318 B(Star), R(4), |
| 319 B(LdaZero), |
| 320 B(Star), R(3), |
| 321 B(JumpConstant), U8(16), |
| 322 B(Ldar), R(9), |
| 323 B(Throw), |
| 324 B(Ldar), R(9), |
| 325 B(LdaConstant), U8(0), |
| 326 B(Star), R(6), |
| 327 B(Ldar), R(closure), |
| 328 B(Star), R(7), |
| 329 B(CallRuntime), U16(Runtime::kPushBlockContext), R(6), U8(2), |
| 330 B(PushContext), R(1), |
| 331 B(LdaTheHole), |
| 332 B(StaContextSlot), R(context), U8(4), |
| 333 B(LdaUndefined), |
| 334 B(StaContextSlot), R(1), U8(10), |
| 335 B(LdaZero), |
| 336 B(StaContextSlot), R(1), U8(9), |
| 337 B(Mov), R(context), R(8), |
| 338 B(Mov), R(context), R(9), |
| 339 B(CreateArrayLiteral), U8(1), U8(0), U8(3), |
| 340 B(Star), R(11), |
| 341 B(LdaConstant), U8(2), |
| 342 B(KeyedLoadIC), R(11), U8(3), |
| 343 B(Star), R(10), |
| 344 B(Call), R(10), R(11), U8(1), U8(1), |
| 345 B(StaContextSlot), R(1), U8(7), |
| 346 B(LdaContextSlot), R(1), U8(7), |
| 347 B(Star), R(12), |
| 348 B(LoadIC), R(12), U8(3), U8(7), |
| 349 B(Star), R(11), |
| 350 B(Call), R(11), R(12), U8(1), U8(5), |
| 351 B(StaContextSlot), R(1), U8(8), |
| 352 B(Star), R(10), |
| 353 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(10), U8(1), |
| 354 B(LogicalNot), |
| 355 B(JumpIfFalse), U8(12), |
| 356 B(LdaContextSlot), R(1), U8(8), |
| 357 B(Star), R(10), |
| 358 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(10), U8(1), |
| 359 B(LdaContextSlot), R(1), U8(8), |
| 360 B(Star), R(10), |
| 361 B(LoadIC), R(10), U8(4), U8(9), |
| 362 B(JumpIfToBooleanTrueConstant), U8(9), |
| 363 B(LdaSmi), U8(2), |
| 364 B(StaContextSlot), R(1), U8(9), |
| 365 B(LdaContextSlot), R(1), U8(8), |
| 366 B(Star), R(10), |
| 367 B(LoadIC), R(10), U8(5), U8(11), |
| 368 B(StaContextSlot), R(1), U8(6), |
| 369 B(LdaContextSlot), R(1), U8(10), |
| 370 B(StackCheck), |
| 371 B(LdaConstant), U8(6), |
| 372 B(Star), R(10), |
| 373 B(Ldar), R(closure), |
| 374 B(Star), R(11), |
| 375 B(CallRuntime), U16(Runtime::kPushBlockContext), R(10), U8(2), |
| 376 B(PushContext), R(2), |
| 377 B(LdaTheHole), |
| 378 B(StaContextSlot), R(context), U8(4), |
| 379 B(LdaContextSlot), R(1), U8(6), |
| 380 B(StaContextSlot), R(context), U8(4), |
| 381 B(LdaContextSlot), R(context), U8(4), |
| 382 B(JumpIfNotHole), U8(11), |
| 383 B(LdaConstant), U8(7), |
| 384 B(Star), R(11), |
| 385 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(11), U8(1), |
| 386 B(Star), R(10), |
| 387 B(LdaFalse), |
| 388 B(Star), R(11), |
| 389 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(10), U8(2), |
| 390 B(Star), R(12), |
| 391 B(LdaContextSlot), R(1), U8(5), |
| 392 B(Star), R(10), |
| 393 B(LdaSmi), U8(1), |
| 394 B(Star), R(11), |
| 395 B(CallRuntime), U16(Runtime::kSuspendIgnitionGenerator), R(10), U8(2), |
| 396 B(Ldar), R(12), |
| 397 B(Return), |
| 398 B(CallRuntime), U16(Runtime::kGeneratorGetInput), R(10), U8(1), |
| 399 B(Star), R(13), |
| 400 B(CallRuntime), U16(Runtime::kGeneratorGetResumeMode), R(10), U8(1), |
| 401 B(Star), R(14), |
| 402 B(LdaZero), |
| 403 B(TestEqualStrict), R(14), |
| 404 B(JumpIfTrue), U8(45), |
| 405 B(LdaSmi), U8(2), |
| 406 B(TestEqualStrict), R(14), |
| 407 B(JumpIfTrue), U8(36), |
| 408 B(Jump), U8(2), |
| 409 B(Mov), R(13), R(15), |
| 410 B(LdaTrue), |
| 411 B(Star), R(16), |
| 412 B(CallRuntime), U16(Runtime::kCreateIterResultObject), R(15), U8(2), |
| 413 B(PopContext), R(2), |
| 414 B(PopContext), R(2), |
| 415 B(PopContext), R(2), |
| 416 B(PopContext), R(2), |
| 417 B(PopContext), R(2), |
| 418 B(PopContext), R(2), |
| 419 B(PopContext), R(2), |
| 420 B(Star), R(7), |
| 421 B(LdaZero), |
| 422 B(Star), R(6), |
| 423 B(Jump), U8(78), |
| 424 B(Ldar), R(13), |
| 425 B(Throw), |
| 426 B(Ldar), R(13), |
| 427 B(PopContext), R(2), |
| 428 B(LdaZero), |
| 429 B(StaContextSlot), R(1), U8(9), |
| 430 B(Wide), B(Jump), U16(-210), |
| 431 B(Jump), U8(49), |
| 432 B(Star), R(11), |
| 433 B(LdaConstant), U8(10), |
| 434 B(Star), R(10), |
| 435 B(Ldar), R(closure), |
| 436 B(Star), R(12), |
| 437 B(CallRuntime), U16(Runtime::kPushCatchContext), R(10), U8(3), |
| 438 B(Star), R(9), |
| 439 B(PushContext), R(2), |
| 440 B(LdaContextSlot), R(1), U8(9), |
| 441 B(Star), R(10), |
| 442 B(LdaSmi), U8(2), |
| 443 B(TestEqualStrict), R(10), |
| 444 B(JumpIfFalse), U8(7), |
| 445 B(LdaSmi), U8(1), |
| 446 B(StaContextSlot), R(1), U8(9), |
| 447 B(LdaContextSlot), R(context), U8(4), |
| 448 B(Star), R(10), |
| 449 B(CallRuntime), U16(Runtime::kReThrow), R(10), U8(1), |
| 450 B(PopContext), R(2), |
| 451 B(LdaSmi), U8(-1), |
| 452 B(Star), R(6), |
| 453 B(Jump), U8(8), |
| 454 B(Star), R(7), |
| 455 B(LdaSmi), U8(1), |
| 456 B(Star), R(6), |
| 457 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
| 458 B(Star), R(8), |
| 459 B(LdaContextSlot), R(1), U8(9), |
| 460 B(Star), R(9), |
| 461 B(LdaZero), |
| 462 B(TestEqualStrict), R(9), |
| 463 B(JumpIfTrue), U8(10), |
| 464 B(LdaContextSlot), R(1), U8(7), |
| 465 B(Star), R(9), |
| 466 B(LdaUndefined), |
| 467 B(TestEqualStrict), R(9), |
| 468 B(LogicalNot), |
| 469 B(JumpIfFalseConstant), U8(15), |
| 470 B(LdaContextSlot), R(1), U8(7), |
| 471 B(Star), R(9), |
| 472 B(LoadIC), R(9), U8(11), U8(13), |
| 473 B(StaContextSlot), R(1), U8(11), |
| 474 B(LdaContextSlot), R(1), U8(11), |
| 475 B(Star), R(9), |
| 476 B(LdaNull), |
| 477 B(TestEqual), R(9), |
| 478 B(JumpIfFalse), U8(4), |
| 479 B(JumpConstant), U8(14), |
| 480 B(LdaContextSlot), R(1), U8(9), |
| 481 B(Star), R(9), |
| 482 B(LdaSmi), U8(1), |
| 483 B(TestEqualStrict), R(9), |
| 484 B(JumpIfFalse), U8(82), |
| 485 B(LdaContextSlot), R(1), U8(11), |
| 486 B(TypeOf), |
| 487 B(Star), R(9), |
| 488 B(LdaConstant), U8(12), |
| 489 B(TestEqualStrict), R(9), |
| 490 B(JumpIfFalse), U8(4), |
| 491 B(Jump), U8(18), |
| 492 B(Wide), B(LdaSmi), U16(139), |
| 493 B(Star), R(9), |
| 494 B(LdaConstant), U8(13), |
| 495 B(Star), R(10), |
| 496 B(CallRuntime), U16(Runtime::kNewTypeError), R(9), U8(2), |
| 497 B(Throw), |
| 498 B(Mov), R(context), R(9), |
| 499 B(LdaContextSlot), R(1), U8(11), |
| 500 B(Star), R(10), |
| 501 B(LdaContextSlot), R(1), U8(7), |
| 502 B(Star), R(11), |
| 503 B(CallRuntime), U16(Runtime::k_Call), R(10), U8(2), |
| 504 B(Jump), U8(30), |
| 505 B(Star), R(11), |
| 506 B(LdaConstant), U8(10), |
| 507 B(Star), R(10), |
| 508 B(Ldar), R(closure), |
| 509 B(Star), R(12), |
| 510 B(CallRuntime), U16(Runtime::kPushCatchContext), R(10), U8(3), |
| 511 B(Star), R(9), |
| 512 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
| 513 B(Ldar), R(9), |
| 514 B(PushContext), R(2), |
| 515 B(PopContext), R(2), |
| 516 B(Jump), U8(44), |
| 517 B(LdaContextSlot), R(1), U8(11), |
| 518 B(Star), R(9), |
| 519 B(LdaContextSlot), R(1), U8(7), |
| 520 B(Star), R(10), |
| 521 B(CallRuntime), U16(Runtime::k_Call), R(9), U8(2), |
| 522 B(StaContextSlot), R(1), U8(12), |
| 523 B(LdaContextSlot), R(1), U8(12), |
| 524 B(Star), R(9), |
| 525 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(9), U8(1), |
| 526 B(JumpIfToBooleanFalse), U8(4), |
| 527 B(Jump), U8(12), |
| 528 B(LdaContextSlot), R(1), U8(12), |
| 529 B(Star), R(9), |
| 530 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(9), U8(1), |
| 531 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(8), U8(1), |
| 532 B(LdaZero), |
| 533 B(TestEqualStrict), R(6), |
| 534 B(JumpIfTrue), U8(10), |
| 535 B(LdaSmi), U8(1), |
| 536 B(TestEqualStrict), R(6), |
| 537 B(JumpIfTrue), U8(18), |
| 538 B(Jump), U8(30), |
| 539 B(Ldar), R(7), |
| 540 B(PopContext), R(1), |
| 541 B(PopContext), R(1), |
| 542 B(Star), R(4), |
| 543 B(LdaSmi), U8(1), |
| 544 B(Star), R(3), |
| 545 B(Jump), U8(49), |
| 546 B(Ldar), R(7), |
| 547 B(PopContext), R(1), |
| 548 B(PopContext), R(1), |
| 549 B(Star), R(4), |
| 550 B(LdaSmi), U8(2), |
| 551 B(Star), R(3), |
| 552 B(Jump), U8(35), |
| 553 B(PopContext), R(1), |
| 554 B(LdaUndefined), |
| 555 B(Star), R(6), |
| 556 B(LdaTrue), |
| 557 B(Star), R(7), |
| 558 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8(2), |
| 559 B(Star), R(4), |
| 560 B(LdaSmi), U8(3), |
| 561 B(Star), R(3), |
| 562 B(Jump), U8(14), |
| 563 B(LdaSmi), U8(-1), |
| 564 B(Star), R(3), |
| 565 B(Jump), U8(8), |
| 566 B(Star), R(4), |
| 567 B(LdaSmi), U8(4), |
| 568 B(Star), R(3), |
| 569 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
| 570 B(Star), R(5), |
| 571 B(LdaContextSlot), R(context), U8(5), |
| 572 B(Star), R(6), |
| 573 B(CallRuntime), U16(Runtime::kGeneratorClose), R(6), U8(1), |
| 574 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(5), U8(1), |
| 575 B(LdaZero), |
| 576 B(TestEqualStrict), R(3), |
| 577 B(JumpIfTrue), U8(28), |
| 578 B(LdaSmi), U8(1), |
| 579 B(TestEqualStrict), R(3), |
| 580 B(JumpIfTrue), U8(25), |
| 581 B(LdaSmi), U8(2), |
| 582 B(TestEqualStrict), R(3), |
| 583 B(JumpIfTrue), U8(22), |
| 584 B(LdaSmi), U8(3), |
| 585 B(TestEqualStrict), R(3), |
| 586 B(JumpIfTrue), U8(19), |
| 587 B(LdaSmi), U8(4), |
| 588 B(TestEqualStrict), R(3), |
| 589 B(JumpIfTrue), U8(16), |
| 590 B(Jump), U8(17), |
| 591 B(Ldar), R(4), |
| 592 B(Return), |
| 593 B(Ldar), R(4), |
| 594 B(Return), |
| 595 B(Ldar), R(4), |
| 596 B(ReThrow), |
| 597 B(Ldar), R(4), |
| 598 B(Return), |
| 599 B(Ldar), R(4), |
| 600 B(ReThrow), |
| 601 B(LdaUndefined), |
| 602 B(Return), |
| 603 ] |
| 604 constant pool: [ |
| 605 InstanceType::FIXED_ARRAY_TYPE, |
| 606 InstanceType::FIXED_ARRAY_TYPE, |
| 607 InstanceType::SYMBOL_TYPE, |
| 608 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 609 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 610 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 611 InstanceType::FIXED_ARRAY_TYPE, |
| 612 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 613 kInstanceTypeDontCare, |
| 614 kInstanceTypeDontCare, |
| 615 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 616 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 617 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 618 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 619 kInstanceTypeDontCare, |
| 620 kInstanceTypeDontCare, |
| 621 kInstanceTypeDontCare, |
| 622 ] |
| 623 handlers: [ |
| 624 [39, 704, 710], |
| 625 [154, 440, 446], |
| 626 [157, 391, 393], |
| 627 [548, 563, 565], |
| 628 ] |
| 629 |
OLD | NEW |