| 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 | |
| 7 execute: yes | 6 execute: yes |
| 8 wrap: no | 7 wrap: no |
| 9 test function name: f | 8 test function name: f |
| 10 | 9 |
| 11 --- | 10 --- |
| 12 snippet: " | 11 snippet: " |
| 13 var a = {x:13, y:14}; | 12 var a = {x:13, y:14}; |
| 14 function f() { | 13 function f() { |
| 15 return delete a.x; | 14 return delete a.x; |
| 16 }; | 15 }; |
| 17 f(); | 16 f(); |
| 18 " | 17 " |
| 19 frame size: 1 | 18 frame size: 1 |
| 20 parameter count: 1 | 19 parameter count: 1 |
| 21 bytecode array length: 9 | 20 bytecode array length: 9 |
| 22 bytecodes: [ | 21 bytecodes: [ |
| 23 /* 32 E> */ B(StackCheck), | 22 /* 32 E> */ B(StackCheck), |
| 24 /* 39 S> */ B(LdrGlobal), U8(1), R(0), | 23 /* 39 S> */ B(LdrGlobal), U8(1), R(0), |
| 25 B(LdaConstant), U8(0), | 24 B(LdaConstant), U8(0), |
| 26 B(DeletePropertySloppy), R(0), | 25 B(DeletePropertySloppy), R(0), |
| 27 /* 58 S> */ B(Return), | 26 /* 58 S> */ B(Return), |
| 28 ] | 27 ] |
| 29 constant pool: [ | 28 constant pool: [ |
| 30 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 29 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 31 ] | 30 ] |
| 32 handlers: [ | 31 handlers: [ |
| 33 ] | 32 ] |
| 34 | 33 |
| 35 --- | 34 --- |
| 36 snippet: " | 35 snippet: " |
| 37 a = {1:13, 2:14}; | 36 a = {1:13, 2:14}; |
| 38 function f() { | 37 function f() { |
| 39 'use strict'; | 38 'use strict'; |
| 40 return delete a[1]; | 39 return delete a[1]; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 69 bytecode array length: 14 | 68 bytecode array length: 14 |
| 70 bytecodes: [ | 69 bytecodes: [ |
| 71 /* 32 E> */ B(StackCheck), | 70 /* 32 E> */ B(StackCheck), |
| 72 /* 39 S> */ B(LdrContextSlot), R(context), U8(3), R(0), | 71 /* 39 S> */ B(LdrContextSlot), R(context), U8(3), R(0), |
| 73 B(LdrContextSlot), R(0), U8(2), R(1), | 72 B(LdrContextSlot), R(0), U8(2), R(1), |
| 74 B(LdaConstant), U8(0), | 73 B(LdaConstant), U8(0), |
| 75 B(DeletePropertySloppy), R(1), | 74 B(DeletePropertySloppy), R(1), |
| 76 /* 56 S> */ B(Return), | 75 /* 56 S> */ B(Return), |
| 77 ] | 76 ] |
| 78 constant pool: [ | 77 constant pool: [ |
| 79 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 78 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
| 80 ] | 79 ] |
| 81 handlers: [ | 80 handlers: [ |
| 82 ] | 81 ] |
| 83 | 82 |
| 84 --- | 83 --- |
| 85 snippet: " | 84 snippet: " |
| 86 b = 30; | 85 b = 30; |
| 87 function f() { | 86 function f() { |
| 88 return delete b; | 87 return delete b; |
| 89 }; | 88 }; |
| 90 f(); | 89 f(); |
| 91 " | 90 " |
| 92 frame size: 2 | 91 frame size: 2 |
| 93 parameter count: 1 | 92 parameter count: 1 |
| 94 bytecode array length: 14 | 93 bytecode array length: 14 |
| 95 bytecodes: [ | 94 bytecodes: [ |
| 96 /* 18 E> */ B(StackCheck), | 95 /* 18 E> */ B(StackCheck), |
| 97 /* 25 S> */ B(LdrContextSlot), R(context), U8(3), R(0), | 96 /* 25 S> */ B(LdrContextSlot), R(context), U8(3), R(0), |
| 98 B(LdrContextSlot), R(0), U8(2), R(1), | 97 B(LdrContextSlot), R(0), U8(2), R(1), |
| 99 B(LdaConstant), U8(0), | 98 B(LdaConstant), U8(0), |
| 100 B(DeletePropertySloppy), R(1), | 99 B(DeletePropertySloppy), R(1), |
| 101 /* 42 S> */ B(Return), | 100 /* 42 S> */ B(Return), |
| 102 ] | 101 ] |
| 103 constant pool: [ | 102 constant pool: [ |
| 104 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 103 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"], |
| 105 ] | 104 ] |
| 106 handlers: [ | 105 handlers: [ |
| 107 ] | 106 ] |
| 108 | 107 |
| OLD | NEW |