| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 ] | 52 ] |
| 53 handlers: [ | 53 handlers: [ |
| 54 ] | 54 ] |
| 55 | 55 |
| 56 --- | 56 --- |
| 57 snippet: " | 57 snippet: " |
| 58 var a = { val: 2 }; a.name *= 2; | 58 var a = { val: 2 }; a.name *= 2; |
| 59 " | 59 " |
| 60 frame size: 3 | 60 frame size: 3 |
| 61 parameter count: 1 | 61 parameter count: 1 |
| 62 bytecode array length: 27 | 62 bytecode array length: 26 |
| 63 bytecodes: [ | 63 bytecodes: [ |
| 64 /* 30 E> */ B(StackCheck), | 64 /* 30 E> */ B(StackCheck), |
| 65 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 65 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
| 66 B(Star), R(1), | 66 B(Star), R(1), |
| 67 B(Star), R(0), | 67 B(Star), R(0), |
| 68 /* 54 S> */ B(Star), R(1), | 68 /* 54 S> */ B(Star), R(1), |
| 69 B(LoadIC), R(1), U8(1), U8(1), | 69 B(LdrNamedProperty), R(1), U8(1), U8(1), R(2), |
| 70 B(Star), R(2), | |
| 71 B(LdaSmi), U8(2), | 70 B(LdaSmi), U8(2), |
| 72 B(Mul), R(2), | 71 B(Mul), R(2), |
| 73 /* 61 E> */ B(StoreICSloppy), R(1), U8(1), U8(3), | 72 /* 61 E> */ B(StoreICSloppy), R(1), U8(1), U8(3), |
| 74 B(LdaUndefined), | 73 B(LdaUndefined), |
| 75 /* 67 S> */ B(Return), | 74 /* 67 S> */ B(Return), |
| 76 ] | 75 ] |
| 77 constant pool: [ | 76 constant pool: [ |
| 78 InstanceType::FIXED_ARRAY_TYPE, | 77 InstanceType::FIXED_ARRAY_TYPE, |
| 79 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 78 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 80 ] | 79 ] |
| 81 handlers: [ | 80 handlers: [ |
| 82 ] | 81 ] |
| 83 | 82 |
| 84 --- | 83 --- |
| 85 snippet: " | 84 snippet: " |
| 86 var a = { 1: 2 }; a[1] ^= 2; | 85 var a = { 1: 2 }; a[1] ^= 2; |
| 87 " | 86 " |
| 88 frame size: 4 | 87 frame size: 4 |
| 89 parameter count: 1 | 88 parameter count: 1 |
| 90 bytecode array length: 30 | 89 bytecode array length: 29 |
| 91 bytecodes: [ | 90 bytecodes: [ |
| 92 /* 30 E> */ B(StackCheck), | 91 /* 30 E> */ B(StackCheck), |
| 93 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 92 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
| 94 B(Star), R(1), | 93 B(Star), R(1), |
| 95 B(Star), R(0), | 94 B(Star), R(0), |
| 96 /* 52 S> */ B(Star), R(1), | 95 /* 52 S> */ B(Star), R(1), |
| 97 B(LdaSmi), U8(1), | 96 B(LdaSmi), U8(1), |
| 98 B(Star), R(2), | 97 B(Star), R(2), |
| 99 B(KeyedLoadIC), R(1), U8(1), | 98 B(LdrKeyedProperty), R(1), U8(1), R(3), |
| 100 B(Star), R(3), | |
| 101 B(LdaSmi), U8(2), | 99 B(LdaSmi), U8(2), |
| 102 B(BitwiseXor), R(3), | 100 B(BitwiseXor), R(3), |
| 103 /* 57 E> */ B(KeyedStoreICSloppy), R(1), R(2), U8(3), | 101 /* 57 E> */ B(KeyedStoreICSloppy), R(1), R(2), U8(3), |
| 104 B(LdaUndefined), | 102 B(LdaUndefined), |
| 105 /* 63 S> */ B(Return), | 103 /* 63 S> */ B(Return), |
| 106 ] | 104 ] |
| 107 constant pool: [ | 105 constant pool: [ |
| 108 InstanceType::FIXED_ARRAY_TYPE, | 106 InstanceType::FIXED_ARRAY_TYPE, |
| 109 ] | 107 ] |
| 110 handlers: [ | 108 handlers: [ |
| 111 ] | 109 ] |
| 112 | 110 |
| 113 --- | 111 --- |
| 114 snippet: " | 112 snippet: " |
| 115 var a = 1; (function f() { return a; }); a |= 24; | 113 var a = 1; (function f() { return a; }); a |= 24; |
| 116 " | 114 " |
| 117 frame size: 2 | 115 frame size: 2 |
| 118 parameter count: 1 | 116 parameter count: 1 |
| 119 bytecode array length: 30 | 117 bytecode array length: 29 |
| 120 bytecodes: [ | 118 bytecodes: [ |
| 121 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 119 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
| 122 B(PushContext), R(0), | 120 B(PushContext), R(0), |
| 123 /* 30 E> */ B(StackCheck), | 121 /* 30 E> */ B(StackCheck), |
| 124 /* 42 S> */ B(LdaSmi), U8(1), | 122 /* 42 S> */ B(LdaSmi), U8(1), |
| 125 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 123 /* 42 E> */ B(StaContextSlot), R(context), U8(4), |
| 126 /* 45 S> */ B(CreateClosure), U8(0), U8(0), | 124 /* 45 S> */ B(CreateClosure), U8(0), U8(0), |
| 127 /* 75 S> */ B(LdaContextSlot), R(context), U8(4), | 125 /* 75 S> */ B(LdrContextSlot), R(context), U8(4), R(1), |
| 128 B(Star), R(1), | |
| 129 B(LdaSmi), U8(24), | 126 B(LdaSmi), U8(24), |
| 130 B(BitwiseOr), R(1), | 127 B(BitwiseOr), R(1), |
| 131 /* 77 E> */ B(StaContextSlot), R(context), U8(4), | 128 /* 77 E> */ B(StaContextSlot), R(context), U8(4), |
| 132 B(LdaUndefined), | 129 B(LdaUndefined), |
| 133 /* 84 S> */ B(Return), | 130 /* 84 S> */ B(Return), |
| 134 ] | 131 ] |
| 135 constant pool: [ | 132 constant pool: [ |
| 136 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 133 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 137 ] | 134 ] |
| 138 handlers: [ | 135 handlers: [ |
| 139 ] | 136 ] |
| 140 | 137 |
| OLD | NEW |