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

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

Issue 2169813002: [interpreter] Add output register to ToName (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@addregouts
Patch Set: comments Created 4 years, 5 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: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 ] 292 ]
293 handlers: [ 293 handlers: [
294 ] 294 ]
295 295
296 --- 296 ---
297 snippet: " 297 snippet: "
298 var a = 'test'; return { [a]: 1 }; 298 var a = 'test'; return { [a]: 1 };
299 " 299 "
300 frame size: 7 300 frame size: 7
301 parameter count: 1 301 parameter count: 1
302 bytecode array length: 37 302 bytecode array length: 36
303 bytecodes: [ 303 bytecodes: [
304 /* 30 E> */ B(StackCheck), 304 /* 30 E> */ B(StackCheck),
305 /* 42 S> */ B(LdaConstant), U8(0), 305 /* 42 S> */ B(LdaConstant), U8(0),
306 B(Star), R(0), 306 B(Star), R(0),
307 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35), 307 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35),
308 B(Star), R(1), 308 B(Star), R(1),
309 B(Ldar), R(0), 309 B(Ldar), R(0),
310 /* 60 E> */ B(ToName), 310 /* 60 E> */ B(ToName), R(3),
311 B(Star), R(3),
312 B(LdaSmi), U8(1), 311 B(LdaSmi), U8(1),
313 B(Star), R(4), 312 B(Star), R(4),
314 B(LdaZero), 313 B(LdaZero),
315 B(Star), R(5), 314 B(Star), R(5),
316 B(LdaZero), 315 B(LdaZero),
317 B(Star), R(6), 316 B(Star), R(6),
318 B(Mov), R(1), R(2), 317 B(Mov), R(1), R(2),
319 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 318 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
320 B(Ldar), R(1), 319 B(Ldar), R(1),
321 /* 69 S> */ B(Return), 320 /* 69 S> */ B(Return),
322 ] 321 ]
323 constant pool: [ 322 constant pool: [
324 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 323 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
325 InstanceType::FIXED_ARRAY_TYPE, 324 InstanceType::FIXED_ARRAY_TYPE,
326 ] 325 ]
327 handlers: [ 326 handlers: [
328 ] 327 ]
329 328
330 --- 329 ---
331 snippet: " 330 snippet: "
332 var a = 'test'; return { val: a, [a]: 1 }; 331 var a = 'test'; return { val: a, [a]: 1 };
333 " 332 "
334 frame size: 7 333 frame size: 7
335 parameter count: 1 334 parameter count: 1
336 bytecode array length: 41 335 bytecode array length: 40
337 bytecodes: [ 336 bytecodes: [
338 /* 30 E> */ B(StackCheck), 337 /* 30 E> */ B(StackCheck),
339 /* 42 S> */ B(LdaConstant), U8(0), 338 /* 42 S> */ B(LdaConstant), U8(0),
340 B(Star), R(0), 339 B(Star), R(0),
341 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), 340 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1),
342 B(Star), R(1), 341 B(Star), R(1),
343 B(Ldar), R(0), 342 B(Ldar), R(0),
344 /* 64 E> */ B(StaNamedPropertySloppy), R(1), U8(2), U8(1), 343 /* 64 E> */ B(StaNamedPropertySloppy), R(1), U8(2), U8(1),
345 /* 68 E> */ B(ToName), 344 /* 68 E> */ B(ToName), R(3),
346 B(Star), R(3),
347 B(LdaSmi), U8(1), 345 B(LdaSmi), U8(1),
348 B(Star), R(4), 346 B(Star), R(4),
349 B(LdaZero), 347 B(LdaZero),
350 B(Star), R(5), 348 B(Star), R(5),
351 B(LdaZero), 349 B(LdaZero),
352 B(Star), R(6), 350 B(Star), R(6),
353 B(Mov), R(1), R(2), 351 B(Mov), R(1), R(2),
354 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 352 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
355 B(Ldar), R(1), 353 B(Ldar), R(1),
356 /* 77 S> */ B(Return), 354 /* 77 S> */ B(Return),
357 ] 355 ]
358 constant pool: [ 356 constant pool: [
359 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 357 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
360 InstanceType::FIXED_ARRAY_TYPE, 358 InstanceType::FIXED_ARRAY_TYPE,
361 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 359 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
362 ] 360 ]
363 handlers: [ 361 handlers: [
364 ] 362 ]
365 363
366 --- 364 ---
367 snippet: " 365 snippet: "
368 var a = 'test'; return { [a]: 1, __proto__: {} }; 366 var a = 'test'; return { [a]: 1, __proto__: {} };
369 " 367 "
370 frame size: 7 368 frame size: 7
371 parameter count: 1 369 parameter count: 1
372 bytecode array length: 54 370 bytecode array length: 53
373 bytecodes: [ 371 bytecodes: [
374 /* 30 E> */ B(StackCheck), 372 /* 30 E> */ B(StackCheck),
375 /* 42 S> */ B(LdaConstant), U8(0), 373 /* 42 S> */ B(LdaConstant), U8(0),
376 B(Star), R(0), 374 B(Star), R(0),
377 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(1), U8(35), 375 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(1), U8(35),
378 B(Star), R(1), 376 B(Star), R(1),
379 B(Ldar), R(0), 377 B(Ldar), R(0),
380 /* 60 E> */ B(ToName), 378 /* 60 E> */ B(ToName), R(3),
381 B(Star), R(3),
382 B(LdaSmi), U8(1), 379 B(LdaSmi), U8(1),
383 B(Star), R(4), 380 B(Star), R(4),
384 B(LdaZero), 381 B(LdaZero),
385 B(Star), R(5), 382 B(Star), R(5),
386 B(LdaZero), 383 B(LdaZero),
387 B(Star), R(6), 384 B(Star), R(6),
388 B(Mov), R(1), R(2), 385 B(Mov), R(1), R(2),
389 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 386 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
390 B(CreateObjectLiteral), U8(1), U8(0), U8(35), 387 B(CreateObjectLiteral), U8(1), U8(0), U8(35),
391 B(Star), R(4), 388 B(Star), R(4),
392 B(Mov), R(1), R(2), 389 B(Mov), R(1), R(2),
393 B(Mov), R(4), R(3), 390 B(Mov), R(4), R(3),
394 B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(2), U8(2) , 391 B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(2), U8(2) ,
395 B(Ldar), R(1), 392 B(Ldar), R(1),
396 /* 84 S> */ B(Return), 393 /* 84 S> */ B(Return),
397 ] 394 ]
398 constant pool: [ 395 constant pool: [
399 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 396 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
400 InstanceType::FIXED_ARRAY_TYPE, 397 InstanceType::FIXED_ARRAY_TYPE,
401 ] 398 ]
402 handlers: [ 399 handlers: [
403 ] 400 ]
404 401
405 --- 402 ---
406 snippet: " 403 snippet: "
407 var n = 'name'; return { [n]: 'val', get a() { }, set a(b) {} }; 404 var n = 'name'; return { [n]: 'val', get a() { }, set a(b) {} };
408 " 405 "
409 frame size: 7 406 frame size: 7
410 parameter count: 1 407 parameter count: 1
411 bytecode array length: 77 408 bytecode array length: 76
412 bytecodes: [ 409 bytecodes: [
413 /* 30 E> */ B(StackCheck), 410 /* 30 E> */ B(StackCheck),
414 /* 42 S> */ B(LdaConstant), U8(0), 411 /* 42 S> */ B(LdaConstant), U8(0),
415 B(Star), R(0), 412 B(Star), R(0),
416 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35), 413 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35),
417 B(Star), R(1), 414 B(Star), R(1),
418 B(Ldar), R(0), 415 B(Ldar), R(0),
419 /* 60 E> */ B(ToName), 416 /* 60 E> */ B(ToName), R(3),
420 B(Star), R(3),
421 B(LdaConstant), U8(2), 417 B(LdaConstant), U8(2),
422 B(Star), R(4), 418 B(Star), R(4),
423 B(LdaZero), 419 B(LdaZero),
424 B(Star), R(5), 420 B(Star), R(5),
425 B(LdaZero), 421 B(LdaZero),
426 B(Star), R(6), 422 B(Star), R(6),
427 B(Mov), R(1), R(2), 423 B(Mov), R(1), R(2),
428 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 424 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
429 B(LdaConstant), U8(3), 425 B(LdaConstant), U8(3),
430 B(Star), R(3), 426 B(Star), R(3),
(...skipping 18 matching lines...) Expand all
449 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 445 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
450 InstanceType::FIXED_ARRAY_TYPE, 446 InstanceType::FIXED_ARRAY_TYPE,
451 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 447 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
452 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 448 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
453 InstanceType::SHARED_FUNCTION_INFO_TYPE, 449 InstanceType::SHARED_FUNCTION_INFO_TYPE,
454 InstanceType::SHARED_FUNCTION_INFO_TYPE, 450 InstanceType::SHARED_FUNCTION_INFO_TYPE,
455 ] 451 ]
456 handlers: [ 452 handlers: [
457 ] 453 ]
458 454
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698