| 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: yes | 8 wrap: yes |
| 9 | 9 |
| 10 --- | 10 --- |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 " | 61 " |
| 62 frame size: 2 | 62 frame size: 2 |
| 63 parameter count: 1 | 63 parameter count: 1 |
| 64 bytecode array length: 16 | 64 bytecode array length: 16 |
| 65 bytecodes: [ | 65 bytecodes: [ |
| 66 B(StackCheck), | 66 B(StackCheck), |
| 67 B(CreateObjectLiteral), U8(0), U8(0), U8(5), | 67 B(CreateObjectLiteral), U8(0), U8(0), U8(5), |
| 68 B(Star), R(1), | 68 B(Star), R(1), |
| 69 B(Star), R(0), | 69 B(Star), R(0), |
| 70 B(Star), R(1), | 70 B(Star), R(1), |
| 71 B(LdaSmi8), U8(2), | 71 B(LdaSmi), U8(2), |
| 72 B(DeletePropertySloppy), R(1), | 72 B(DeletePropertySloppy), R(1), |
| 73 B(Return), | 73 B(Return), |
| 74 ] | 74 ] |
| 75 constant pool: [ | 75 constant pool: [ |
| 76 InstanceType::FIXED_ARRAY_TYPE, | 76 InstanceType::FIXED_ARRAY_TYPE, |
| 77 ] | 77 ] |
| 78 handlers: [ | 78 handlers: [ |
| 79 ] | 79 ] |
| 80 | 80 |
| 81 --- | 81 --- |
| 82 snippet: " | 82 snippet: " |
| 83 var a = 10; return delete a; | 83 var a = 10; return delete a; |
| 84 " | 84 " |
| 85 frame size: 1 | 85 frame size: 1 |
| 86 parameter count: 1 | 86 parameter count: 1 |
| 87 bytecode array length: 7 | 87 bytecode array length: 7 |
| 88 bytecodes: [ | 88 bytecodes: [ |
| 89 B(StackCheck), | 89 B(StackCheck), |
| 90 B(LdaSmi8), U8(10), | 90 B(LdaSmi), U8(10), |
| 91 B(Star), R(0), | 91 B(Star), R(0), |
| 92 B(LdaFalse), | 92 B(LdaFalse), |
| 93 B(Return), | 93 B(Return), |
| 94 ] | 94 ] |
| 95 constant pool: [ | 95 constant pool: [ |
| 96 ] | 96 ] |
| 97 handlers: [ | 97 handlers: [ |
| 98 ] | 98 ] |
| 99 | 99 |
| 100 --- | 100 --- |
| 101 snippet: " | 101 snippet: " |
| 102 'use strict'; | 102 'use strict'; |
| 103 var a = {1:10}; | 103 var a = {1:10}; |
| 104 (function f1() {return a;}); | 104 (function f1() {return a;}); |
| 105 return delete a[1]; | 105 return delete a[1]; |
| 106 " | 106 " |
| 107 frame size: 2 | 107 frame size: 2 |
| 108 parameter count: 1 | 108 parameter count: 1 |
| 109 bytecode array length: 30 | 109 bytecode array length: 30 |
| 110 bytecodes: [ | 110 bytecodes: [ |
| 111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), | 111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
| 112 B(PushContext), R(0), | 112 B(PushContext), R(0), |
| 113 B(StackCheck), | 113 B(StackCheck), |
| 114 B(CreateObjectLiteral), U8(0), U8(0), U8(5), | 114 B(CreateObjectLiteral), U8(0), U8(0), U8(5), |
| 115 B(Star), R(1), | 115 B(Star), R(1), |
| 116 B(StaContextSlot), R(context), U8(4), | 116 B(StaContextSlot), R(context), U8(4), |
| 117 B(CreateClosure), U8(1), U8(0), | 117 B(CreateClosure), U8(1), U8(0), |
| 118 B(LdaContextSlot), R(context), U8(4), | 118 B(LdaContextSlot), R(context), U8(4), |
| 119 B(Star), R(1), | 119 B(Star), R(1), |
| 120 B(LdaSmi8), U8(1), | 120 B(LdaSmi), U8(1), |
| 121 B(DeletePropertyStrict), R(1), | 121 B(DeletePropertyStrict), R(1), |
| 122 B(Return), | 122 B(Return), |
| 123 ] | 123 ] |
| 124 constant pool: [ | 124 constant pool: [ |
| 125 InstanceType::FIXED_ARRAY_TYPE, | 125 InstanceType::FIXED_ARRAY_TYPE, |
| 126 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 126 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 127 ] | 127 ] |
| 128 handlers: [ | 128 handlers: [ |
| 129 ] | 129 ] |
| 130 | 130 |
| 131 --- | 131 --- |
| 132 snippet: " | 132 snippet: " |
| 133 return delete 'test'; | 133 return delete 'test'; |
| 134 " | 134 " |
| 135 frame size: 0 | 135 frame size: 0 |
| 136 parameter count: 1 | 136 parameter count: 1 |
| 137 bytecode array length: 3 | 137 bytecode array length: 3 |
| 138 bytecodes: [ | 138 bytecodes: [ |
| 139 B(StackCheck), | 139 B(StackCheck), |
| 140 B(LdaTrue), | 140 B(LdaTrue), |
| 141 B(Return), | 141 B(Return), |
| 142 ] | 142 ] |
| 143 constant pool: [ | 143 constant pool: [ |
| 144 ] | 144 ] |
| 145 handlers: [ | 145 handlers: [ |
| 146 ] | 146 ] |
| 147 | 147 |
| OLD | NEW |