| 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 | 10 |
| 11 --- | 11 --- |
| 12 snippet: " | 12 snippet: " |
| 13 var a = {x:13, y:14}; | 13 var a = {x:13, y:14}; |
| 14 function f() { | 14 function f() { |
| 15 return delete a.x; | 15 return delete a.x; |
| 16 }; | 16 }; |
| 17 f(); | 17 f(); |
| 18 " | 18 " |
| 19 frame size: 1 | 19 frame size: 1 |
| 20 parameter count: 1 | 20 parameter count: 1 |
| 21 bytecode array length: 10 | 21 bytecode array length: 9 |
| 22 bytecodes: [ | 22 bytecodes: [ |
| 23 /* 32 E> */ B(StackCheck), | 23 /* 32 E> */ B(StackCheck), |
| 24 /* 39 S> */ B(LdrGlobal), U8(0), U8(1), R(0), | 24 /* 39 S> */ B(LdrGlobal), U8(1), R(0), |
| 25 B(LdaConstant), U8(1), | 25 B(LdaConstant), U8(0), |
| 26 B(DeletePropertySloppy), R(0), | 26 B(DeletePropertySloppy), R(0), |
| 27 /* 58 S> */ B(Return), | 27 /* 58 S> */ B(Return), |
| 28 ] | 28 ] |
| 29 constant pool: [ | 29 constant pool: [ |
| 30 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 30 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 31 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | |
| 32 ] | 31 ] |
| 33 handlers: [ | 32 handlers: [ |
| 34 ] | 33 ] |
| 35 | 34 |
| 36 --- | 35 --- |
| 37 snippet: " | 36 snippet: " |
| 38 a = {1:13, 2:14}; | 37 a = {1:13, 2:14}; |
| 39 function f() { | 38 function f() { |
| 40 'use strict'; | 39 'use strict'; |
| 41 return delete a[1]; | 40 return delete a[1]; |
| 42 }; | 41 }; |
| 43 f(); | 42 f(); |
| 44 " | 43 " |
| 45 frame size: 1 | 44 frame size: 1 |
| 46 parameter count: 1 | 45 parameter count: 1 |
| 47 bytecode array length: 10 | 46 bytecode array length: 9 |
| 48 bytecodes: [ | 47 bytecodes: [ |
| 49 /* 28 E> */ B(StackCheck), | 48 /* 28 E> */ B(StackCheck), |
| 50 /* 51 S> */ B(LdrGlobal), U8(0), U8(1), R(0), | 49 /* 51 S> */ B(LdrGlobal), U8(1), R(0), |
| 51 B(LdaSmi), U8(1), | 50 B(LdaSmi), U8(1), |
| 52 B(DeletePropertyStrict), R(0), | 51 B(DeletePropertyStrict), R(0), |
| 53 /* 71 S> */ B(Return), | 52 /* 71 S> */ B(Return), |
| 54 ] | 53 ] |
| 55 constant pool: [ | 54 constant pool: [ |
| 56 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | |
| 57 ] | 55 ] |
| 58 handlers: [ | 56 handlers: [ |
| 59 ] | 57 ] |
| 60 | 58 |
| 61 --- | 59 --- |
| 62 snippet: " | 60 snippet: " |
| 63 var a = {x:13, y:14}; | 61 var a = {x:13, y:14}; |
| 64 function f() { | 62 function f() { |
| 65 return delete a; | 63 return delete a; |
| 66 }; | 64 }; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 B(LdaConstant), U8(0), | 99 B(LdaConstant), U8(0), |
| 102 B(DeletePropertySloppy), R(1), | 100 B(DeletePropertySloppy), R(1), |
| 103 /* 42 S> */ B(Return), | 101 /* 42 S> */ B(Return), |
| 104 ] | 102 ] |
| 105 constant pool: [ | 103 constant pool: [ |
| 106 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 104 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 107 ] | 105 ] |
| 108 handlers: [ | 106 handlers: [ |
| 109 ] | 107 ] |
| 110 | 108 |
| OLD | NEW |