| 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: test | 8 test function name: test |
| 10 | 9 |
| 11 --- | 10 --- |
| 12 snippet: " | 11 snippet: " |
| 13 var test; | 12 var test; |
| 14 (function() { | 13 (function() { |
| 15 class A { | 14 class A { |
| 16 method() { return 2; } | 15 method() { return 2; } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 B(Star), R(5), | 33 B(Star), R(5), |
| 35 B(Mov), R(this), R(3), | 34 B(Mov), R(this), R(3), |
| 36 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(3), U8(3), | 35 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(3), U8(3), |
| 37 B(Star), R(1), | 36 B(Star), R(1), |
| 38 /* 117 E> */ B(Call), R(1), R(this), U8(1), U8(1), | 37 /* 117 E> */ B(Call), R(1), R(this), U8(1), U8(1), |
| 39 B(Star), R(3), | 38 B(Star), R(3), |
| 40 B(AddSmi), U8(1), R(3), U8(7), | 39 B(AddSmi), U8(1), R(3), U8(7), |
| 41 /* 131 S> */ B(Return), | 40 /* 131 S> */ B(Return), |
| 42 ] | 41 ] |
| 43 constant pool: [ | 42 constant pool: [ |
| 44 InstanceType::SYMBOL_TYPE, | 43 SYMBOL_TYPE, |
| 45 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 44 ONE_BYTE_INTERNALIZED_STRING_TYPE ["method"], |
| 46 ] | 45 ] |
| 47 handlers: [ | 46 handlers: [ |
| 48 ] | 47 ] |
| 49 | 48 |
| 50 --- | 49 --- |
| 51 snippet: " | 50 snippet: " |
| 52 var test; | 51 var test; |
| 53 (function() { | 52 (function() { |
| 54 class A { | 53 class A { |
| 55 get x() { return 1; } | 54 get x() { return 1; } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 78 /* 138 E> */ B(CallRuntime), U16(Runtime::kStoreToSuper_Strict), R(1), U8(4), | 77 /* 138 E> */ B(CallRuntime), U16(Runtime::kStoreToSuper_Strict), R(1), U8(4), |
| 79 /* 143 S> */ B(LdaConstant), U8(0), | 78 /* 143 S> */ B(LdaConstant), U8(0), |
| 80 /* 150 E> */ B(LdrKeyedProperty), R(closure), U8(3), R(2), | 79 /* 150 E> */ B(LdrKeyedProperty), R(closure), U8(3), R(2), |
| 81 B(LdaConstant), U8(1), | 80 B(LdaConstant), U8(1), |
| 82 B(Star), R(3), | 81 B(Star), R(3), |
| 83 B(Mov), R(this), R(1), | 82 B(Mov), R(this), R(1), |
| 84 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(1), U8(3), | 83 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(1), U8(3), |
| 85 /* 159 S> */ B(Return), | 84 /* 159 S> */ B(Return), |
| 86 ] | 85 ] |
| 87 constant pool: [ | 86 constant pool: [ |
| 88 InstanceType::SYMBOL_TYPE, | 87 SYMBOL_TYPE, |
| 89 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 88 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 90 ] | 89 ] |
| 91 handlers: [ | 90 handlers: [ |
| 92 ] | 91 ] |
| 93 | 92 |
| 94 --- | 93 --- |
| 95 snippet: " | 94 snippet: " |
| 96 var test; | 95 var test; |
| 97 (function() { | 96 (function() { |
| 98 class A { | 97 class A { |
| 99 constructor(x) { this.x_ = x; } | 98 constructor(x) { this.x_ = x; } |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 B(LdaSmi), U8(2), | 133 B(LdaSmi), U8(2), |
| 135 /* 136 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), | 134 /* 136 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), |
| 136 B(Ldar), R(this), | 135 B(Ldar), R(this), |
| 137 B(JumpIfNotHole), U8(11), | 136 B(JumpIfNotHole), U8(11), |
| 138 B(LdaConstant), U8(0), | 137 B(LdaConstant), U8(0), |
| 139 B(Star), R(2), | 138 B(Star), R(2), |
| 140 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 139 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
| 141 /* 141 S> */ B(Return), | 140 /* 141 S> */ B(Return), |
| 142 ] | 141 ] |
| 143 constant pool: [ | 142 constant pool: [ |
| 144 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 143 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], |
| 145 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 144 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], |
| 146 ] | 145 ] |
| 147 handlers: [ | 146 handlers: [ |
| 148 ] | 147 ] |
| 149 | 148 |
| 150 --- | 149 --- |
| 151 snippet: " | 150 snippet: " |
| 152 var test; | 151 var test; |
| 153 (function() { | 152 (function() { |
| 154 class A { | 153 class A { |
| 155 constructor() { this.x_ = 1; } | 154 constructor() { this.x_ = 1; } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 B(LdaSmi), U8(2), | 187 B(LdaSmi), U8(2), |
| 189 /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), | 188 /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), |
| 190 B(Ldar), R(this), | 189 B(Ldar), R(this), |
| 191 B(JumpIfNotHole), U8(11), | 190 B(JumpIfNotHole), U8(11), |
| 192 B(LdaConstant), U8(0), | 191 B(LdaConstant), U8(0), |
| 193 B(Star), R(2), | 192 B(Star), R(2), |
| 194 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 193 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
| 195 /* 139 S> */ B(Return), | 194 /* 139 S> */ B(Return), |
| 196 ] | 195 ] |
| 197 constant pool: [ | 196 constant pool: [ |
| 198 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 197 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], |
| 199 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 198 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], |
| 200 ] | 199 ] |
| 201 handlers: [ | 200 handlers: [ |
| 202 ] | 201 ] |
| 203 | 202 |
| OLD | NEW |