| 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: 11 | 21 bytecode array length: 11 |
| 22 bytecodes: [ | 22 bytecodes: [ |
| 23 B(StackCheck), | 23 /* 32 E> */ B(StackCheck), |
| 24 B(LdaGlobal), U8(0), U8(1), | 24 /* 39 S> */ B(LdaGlobal), U8(0), U8(1), |
| 25 B(Star), R(0), | 25 B(Star), R(0), |
| 26 B(LdaConstant), U8(1), | 26 B(LdaConstant), U8(1), |
| 27 B(DeletePropertySloppy), R(0), | 27 B(DeletePropertySloppy), R(0), |
| 28 B(Return), | 28 /* 58 S> */ B(Return), |
| 29 ] | 29 ] |
| 30 constant pool: [ | 30 constant pool: [ |
| 31 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 31 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 32 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 32 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 33 ] | 33 ] |
| 34 handlers: [ | 34 handlers: [ |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 --- | 37 --- |
| 38 snippet: " | 38 snippet: " |
| 39 a = {1:13, 2:14}; | 39 a = {1:13, 2:14}; |
| 40 function f() { | 40 function f() { |
| 41 'use strict'; | 41 'use strict'; |
| 42 return delete a[1]; | 42 return delete a[1]; |
| 43 }; | 43 }; |
| 44 f(); | 44 f(); |
| 45 " | 45 " |
| 46 frame size: 1 | 46 frame size: 1 |
| 47 parameter count: 1 | 47 parameter count: 1 |
| 48 bytecode array length: 11 | 48 bytecode array length: 11 |
| 49 bytecodes: [ | 49 bytecodes: [ |
| 50 B(StackCheck), | 50 /* 28 E> */ B(StackCheck), |
| 51 B(LdaGlobal), U8(0), U8(1), | 51 /* 51 S> */ B(LdaGlobal), U8(0), U8(1), |
| 52 B(Star), R(0), | 52 B(Star), R(0), |
| 53 B(LdaSmi), U8(1), | 53 B(LdaSmi), U8(1), |
| 54 B(DeletePropertyStrict), R(0), | 54 B(DeletePropertyStrict), R(0), |
| 55 B(Return), | 55 /* 71 S> */ B(Return), |
| 56 ] | 56 ] |
| 57 constant pool: [ | 57 constant pool: [ |
| 58 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 58 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 59 ] | 59 ] |
| 60 handlers: [ | 60 handlers: [ |
| 61 ] | 61 ] |
| 62 | 62 |
| 63 --- | 63 --- |
| 64 snippet: " | 64 snippet: " |
| 65 var a = {x:13, y:14}; | 65 var a = {x:13, y:14}; |
| 66 function f() { | 66 function f() { |
| 67 return delete a; | 67 return delete a; |
| 68 }; | 68 }; |
| 69 f(); | 69 f(); |
| 70 " | 70 " |
| 71 frame size: 2 | 71 frame size: 2 |
| 72 parameter count: 1 | 72 parameter count: 1 |
| 73 bytecode array length: 16 | 73 bytecode array length: 16 |
| 74 bytecodes: [ | 74 bytecodes: [ |
| 75 B(StackCheck), | 75 /* 32 E> */ B(StackCheck), |
| 76 B(LdaContextSlot), R(context), U8(3), | 76 /* 39 S> */ B(LdaContextSlot), R(context), U8(3), |
| 77 B(Star), R(0), | 77 B(Star), R(0), |
| 78 B(LdaContextSlot), R(0), U8(2), | 78 B(LdaContextSlot), R(0), U8(2), |
| 79 B(Star), R(1), | 79 B(Star), R(1), |
| 80 B(LdaConstant), U8(0), | 80 B(LdaConstant), U8(0), |
| 81 B(DeletePropertySloppy), R(1), | 81 B(DeletePropertySloppy), R(1), |
| 82 B(Return), | 82 /* 56 S> */ B(Return), |
| 83 ] | 83 ] |
| 84 constant pool: [ | 84 constant pool: [ |
| 85 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 85 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 86 ] | 86 ] |
| 87 handlers: [ | 87 handlers: [ |
| 88 ] | 88 ] |
| 89 | 89 |
| 90 --- | 90 --- |
| 91 snippet: " | 91 snippet: " |
| 92 b = 30; | 92 b = 30; |
| 93 function f() { | 93 function f() { |
| 94 return delete b; | 94 return delete b; |
| 95 }; | 95 }; |
| 96 f(); | 96 f(); |
| 97 " | 97 " |
| 98 frame size: 2 | 98 frame size: 2 |
| 99 parameter count: 1 | 99 parameter count: 1 |
| 100 bytecode array length: 16 | 100 bytecode array length: 16 |
| 101 bytecodes: [ | 101 bytecodes: [ |
| 102 B(StackCheck), | 102 /* 18 E> */ B(StackCheck), |
| 103 B(LdaContextSlot), R(context), U8(3), | 103 /* 25 S> */ B(LdaContextSlot), R(context), U8(3), |
| 104 B(Star), R(0), | 104 B(Star), R(0), |
| 105 B(LdaContextSlot), R(0), U8(2), | 105 B(LdaContextSlot), R(0), U8(2), |
| 106 B(Star), R(1), | 106 B(Star), R(1), |
| 107 B(LdaConstant), U8(0), | 107 B(LdaConstant), U8(0), |
| 108 B(DeletePropertySloppy), R(1), | 108 B(DeletePropertySloppy), R(1), |
| 109 B(Return), | 109 /* 42 S> */ B(Return), |
| 110 ] | 110 ] |
| 111 constant pool: [ | 111 constant pool: [ |
| 112 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 112 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 113 ] | 113 ] |
| 114 handlers: [ | 114 handlers: [ |
| 115 ] | 115 ] |
| 116 | 116 |
| OLD | NEW |