| 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 17 matching lines...) Expand all Loading... |
| 28 ] | 28 ] |
| 29 handlers: [ | 29 handlers: [ |
| 30 ] | 30 ] |
| 31 | 31 |
| 32 --- | 32 --- |
| 33 snippet: " | 33 snippet: " |
| 34 var a = 1; a /= 2; | 34 var a = 1; a /= 2; |
| 35 " | 35 " |
| 36 frame size: 2 | 36 frame size: 2 |
| 37 parameter count: 1 | 37 parameter count: 1 |
| 38 bytecode array length: 16 | 38 bytecode array length: 17 |
| 39 bytecodes: [ | 39 bytecodes: [ |
| 40 /* 30 E> */ B(StackCheck), | 40 /* 30 E> */ B(StackCheck), |
| 41 /* 42 S> */ B(LdaSmi), U8(1), | 41 /* 42 S> */ B(LdaSmi), U8(1), |
| 42 B(Star), R(0), | 42 B(Star), R(0), |
| 43 /* 45 S> */ B(LdaSmi), U8(2), | 43 /* 45 S> */ B(LdaSmi), U8(2), |
| 44 B(Div), R(0), | 44 B(Div), R(0), U8(1), |
| 45 B(Mov), R(0), R(1), | 45 B(Mov), R(0), R(1), |
| 46 B(Star), R(0), | 46 B(Star), R(0), |
| 47 B(LdaUndefined), | 47 B(LdaUndefined), |
| 48 /* 53 S> */ B(Return), | 48 /* 53 S> */ B(Return), |
| 49 ] | 49 ] |
| 50 constant pool: [ | 50 constant pool: [ |
| 51 ] | 51 ] |
| 52 handlers: [ | 52 handlers: [ |
| 53 ] | 53 ] |
| 54 | 54 |
| 55 --- | 55 --- |
| 56 snippet: " | 56 snippet: " |
| 57 var a = { val: 2 }; a.name *= 2; | 57 var a = { val: 2 }; a.name *= 2; |
| 58 " | 58 " |
| 59 frame size: 3 | 59 frame size: 3 |
| 60 parameter count: 1 | 60 parameter count: 1 |
| 61 bytecode array length: 24 | 61 bytecode array length: 25 |
| 62 bytecodes: [ | 62 bytecodes: [ |
| 63 /* 30 E> */ B(StackCheck), | 63 /* 30 E> */ B(StackCheck), |
| 64 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 64 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
| 65 B(Star), R(1), | 65 B(Star), R(1), |
| 66 B(Star), R(0), | 66 B(Star), R(0), |
| 67 /* 54 S> */ B(LdrNamedProperty), R(0), U8(1), U8(1), R(2), | 67 /* 54 S> */ B(LdrNamedProperty), R(0), U8(1), U8(1), R(2), |
| 68 B(LdaSmi), U8(2), | 68 B(LdaSmi), U8(2), |
| 69 B(Mul), R(2), | 69 B(Mul), R(2), U8(3), |
| 70 /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(3), | 70 /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(4), |
| 71 B(LdaUndefined), | 71 B(LdaUndefined), |
| 72 /* 67 S> */ B(Return), | 72 /* 67 S> */ B(Return), |
| 73 ] | 73 ] |
| 74 constant pool: [ | 74 constant pool: [ |
| 75 InstanceType::FIXED_ARRAY_TYPE, | 75 InstanceType::FIXED_ARRAY_TYPE, |
| 76 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 76 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 77 ] | 77 ] |
| 78 handlers: [ | 78 handlers: [ |
| 79 ] | 79 ] |
| 80 | 80 |
| 81 --- | 81 --- |
| 82 snippet: " | 82 snippet: " |
| 83 var a = { 1: 2 }; a[1] ^= 2; | 83 var a = { 1: 2 }; a[1] ^= 2; |
| 84 " | 84 " |
| 85 frame size: 4 | 85 frame size: 4 |
| 86 parameter count: 1 | 86 parameter count: 1 |
| 87 bytecode array length: 27 | 87 bytecode array length: 28 |
| 88 bytecodes: [ | 88 bytecodes: [ |
| 89 /* 30 E> */ B(StackCheck), | 89 /* 30 E> */ B(StackCheck), |
| 90 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 90 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
| 91 B(Star), R(1), | 91 B(Star), R(1), |
| 92 B(Star), R(0), | 92 B(Star), R(0), |
| 93 /* 52 S> */ B(LdaSmi), U8(1), | 93 /* 52 S> */ B(LdaSmi), U8(1), |
| 94 B(Star), R(2), | 94 B(Star), R(2), |
| 95 B(LdrKeyedProperty), R(0), U8(1), R(3), | 95 B(LdrKeyedProperty), R(0), U8(1), R(3), |
| 96 B(LdaSmi), U8(2), | 96 B(LdaSmi), U8(2), |
| 97 B(BitwiseXor), R(3), | 97 B(BitwiseXor), R(3), U8(3), |
| 98 /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(3), | 98 /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(4), |
| 99 B(LdaUndefined), | 99 B(LdaUndefined), |
| 100 /* 63 S> */ B(Return), | 100 /* 63 S> */ B(Return), |
| 101 ] | 101 ] |
| 102 constant pool: [ | 102 constant pool: [ |
| 103 InstanceType::FIXED_ARRAY_TYPE, | 103 InstanceType::FIXED_ARRAY_TYPE, |
| 104 ] | 104 ] |
| 105 handlers: [ | 105 handlers: [ |
| 106 ] | 106 ] |
| 107 | 107 |
| 108 --- | 108 --- |
| (...skipping 15 matching lines...) Expand all Loading... |
| 124 /* 77 E> */ B(StaContextSlot), R(context), U8(4), | 124 /* 77 E> */ B(StaContextSlot), R(context), U8(4), |
| 125 B(LdaUndefined), | 125 B(LdaUndefined), |
| 126 /* 84 S> */ B(Return), | 126 /* 84 S> */ B(Return), |
| 127 ] | 127 ] |
| 128 constant pool: [ | 128 constant pool: [ |
| 129 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 129 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 130 ] | 130 ] |
| 131 handlers: [ | 131 handlers: [ |
| 132 ] | 132 ] |
| 133 | 133 |
| OLD | NEW |