Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Generators.golden

Issue 2248633002: [interpreter] Add CreateBlockContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 10
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 [41, 218, 224], 257 [41, 218, 224],
258 ] 258 ]
259 259
260 --- 260 ---
261 snippet: " 261 snippet: "
262 function* f() { for (let x of [42]) yield x } 262 function* f() { for (let x of [42]) yield x }
263 f(); 263 f();
264 " 264 "
265 frame size: 18 265 frame size: 18
266 parameter count: 1 266 parameter count: 1
267 bytecode array length: 768 267 bytecode array length: 752
268 bytecodes: [ 268 bytecodes: [
269 B(Ldar), R(new_target), 269 B(Ldar), R(new_target),
270 B(JumpIfUndefined), U8(26), 270 B(JumpIfUndefined), U8(26),
271 B(ResumeGenerator), R(new_target), 271 B(ResumeGenerator), R(new_target),
272 B(Star), R(4), 272 B(Star), R(4),
273 B(LdaZero), 273 B(LdaZero),
274 B(TestEqualStrict), R(4), 274 B(TestEqualStrict), R(4),
275 B(JumpIfTrue), U8(59), 275 B(JumpIfTrue), U8(59),
276 B(LdaSmi), U8(1), 276 B(LdaSmi), U8(1),
277 B(TestEqualStrict), R(4), 277 B(TestEqualStrict), R(4),
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 B(LdaTrue), 312 B(LdaTrue),
313 B(Star), R(13), 313 B(Star), R(13),
314 B(Mov), R(10), R(12), 314 B(Mov), R(10), R(12),
315 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U 8(2), 315 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U 8(2),
316 B(Star), R(6), 316 B(Star), R(6),
317 B(LdaZero), 317 B(LdaZero),
318 B(Star), R(5), 318 B(Star), R(5),
319 B(JumpConstant), U8(17), 319 B(JumpConstant), U8(17),
320 B(Ldar), R(10), 320 B(Ldar), R(10),
321 /* 11 E> */ B(Throw), 321 /* 11 E> */ B(Throw),
322 B(LdaConstant), U8(0), 322 B(Ldar), R(closure),
323 B(Star), R(8), 323 B(CreateBlockContext), U8(0),
324 B(Mov), R(closure), R(9),
325 B(CallRuntime), U16(Runtime::kPushBlockContext), R(8), U8(2),
326 B(PushContext), R(1), 324 B(PushContext), R(1),
327 B(LdaTheHole), 325 B(LdaTheHole),
328 B(StaContextSlot), R(context), U8(4), 326 B(StaContextSlot), R(context), U8(4),
329 B(LdaZero), 327 B(LdaZero),
330 B(StaContextSlot), R(1), U8(9), 328 B(StaContextSlot), R(1), U8(9),
331 B(Mov), R(context), R(10), 329 B(Mov), R(context), R(10),
332 B(Mov), R(context), R(11), 330 B(Mov), R(context), R(11),
333 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3), 331 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3),
334 B(Star), R(13), 332 B(Star), R(13),
335 B(LdaConstant), U8(2), 333 B(LdaConstant), U8(2),
(...skipping 23 matching lines...) Expand all
359 B(LdaNamedProperty), R(12), U8(5), U8(9), 357 B(LdaNamedProperty), R(12), U8(5), U8(9),
360 B(JumpIfToBooleanTrueConstant), U8(10), 358 B(JumpIfToBooleanTrueConstant), U8(10),
361 B(LdrContextSlot), R(1), U8(8), R(12), 359 B(LdrContextSlot), R(1), U8(8), R(12),
362 B(LdaNamedProperty), R(12), U8(6), U8(11), 360 B(LdaNamedProperty), R(12), U8(6), U8(11),
363 B(StaContextSlot), R(1), U8(10), 361 B(StaContextSlot), R(1), U8(10),
364 B(LdaSmi), U8(2), 362 B(LdaSmi), U8(2),
365 B(StaContextSlot), R(1), U8(9), 363 B(StaContextSlot), R(1), U8(9),
366 B(LdaContextSlot), R(1), U8(10), 364 B(LdaContextSlot), R(1), U8(10),
367 B(StaContextSlot), R(1), U8(6), 365 B(StaContextSlot), R(1), U8(6),
368 /* 16 E> */ B(StackCheck), 366 /* 16 E> */ B(StackCheck),
369 B(LdaConstant), U8(7), 367 B(Ldar), R(closure),
370 B(Star), R(12), 368 B(CreateBlockContext), U8(7),
371 B(Mov), R(closure), R(13),
372 B(CallRuntime), U16(Runtime::kPushBlockContext), R(12), U8(2),
373 B(PushContext), R(2), 369 B(PushContext), R(2),
374 B(LdaTheHole), 370 B(LdaTheHole),
375 B(StaContextSlot), R(context), U8(4), 371 B(StaContextSlot), R(context), U8(4),
376 B(LdaContextSlot), R(1), U8(6), 372 B(LdaContextSlot), R(1), U8(6),
377 B(StaContextSlot), R(context), U8(4), 373 B(StaContextSlot), R(context), U8(4),
378 /* 36 S> */ B(LdaContextSlot), R(context), U8(4), 374 /* 36 S> */ B(LdaContextSlot), R(context), U8(4),
379 B(JumpIfNotHole), U8(11), 375 B(JumpIfNotHole), U8(11),
380 B(LdaConstant), U8(8), 376 B(LdaConstant), U8(8),
381 B(Star), R(13), 377 B(Star), R(13),
382 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(13), U8(1) , 378 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(13), U8(1) ,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 B(Star), R(9), 412 B(Star), R(9),
417 B(LdaZero), 413 B(LdaZero),
418 B(Star), R(8), 414 B(Star), R(8),
419 B(Jump), U8(75), 415 B(Jump), U8(75),
420 B(Ldar), R(13), 416 B(Ldar), R(13),
421 /* 36 E> */ B(Throw), 417 /* 36 E> */ B(Throw),
422 B(Ldar), R(13), 418 B(Ldar), R(13),
423 B(PopContext), R(2), 419 B(PopContext), R(2),
424 B(LdaZero), 420 B(LdaZero),
425 B(StaContextSlot), R(1), U8(9), 421 B(StaContextSlot), R(1), U8(9),
426 B(Wide), B(Jump), U16(-223), 422 B(Wide), B(Jump), U16(-215),
427 B(Jump), U8(46), 423 B(Jump), U8(46),
428 B(Star), R(13), 424 B(Star), R(13),
429 B(LdaConstant), U8(11), 425 B(LdaConstant), U8(11),
430 B(Star), R(12), 426 B(Star), R(12),
431 B(Mov), R(closure), R(14), 427 B(Mov), R(closure), R(14),
432 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), 428 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3),
433 B(Star), R(11), 429 B(Star), R(11),
434 B(PushContext), R(2), 430 B(PushContext), R(2),
435 B(LdrContextSlot), R(0), U8(9), R(12), 431 B(LdrContextSlot), R(0), U8(9), R(12),
436 B(LdaSmi), U8(2), 432 B(LdaSmi), U8(2),
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 kInstanceTypeDontCare, 587 kInstanceTypeDontCare,
592 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 588 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 589 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
594 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
595 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 591 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
596 kInstanceTypeDontCare, 592 kInstanceTypeDontCare,
597 kInstanceTypeDontCare, 593 kInstanceTypeDontCare,
598 kInstanceTypeDontCare, 594 kInstanceTypeDontCare,
599 ] 595 ]
600 handlers: [ 596 handlers: [
601 [41, 687, 693], 597 [41, 671, 677],
602 [147, 442, 448], 598 [139, 426, 432],
603 [150, 396, 398], 599 [142, 380, 382],
604 [544, 556, 558], 600 [528, 540, 542],
605 ] 601 ]
606 602
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698