| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 execute: yes | 6 execute: yes |
| 7 wrap: no | 7 wrap: no |
| 8 test function name: test | 8 test function name: test |
| 9 | 9 |
| 10 --- | 10 --- |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 test(); | 21 test(); |
| 22 })(); | 22 })(); |
| 23 " | 23 " |
| 24 frame size: 6 | 24 frame size: 6 |
| 25 parameter count: 1 | 25 parameter count: 1 |
| 26 bytecode array length: 36 | 26 bytecode array length: 36 |
| 27 bytecodes: [ | 27 bytecodes: [ |
| 28 B(Mov), R(closure), R(0), | 28 B(Mov), R(closure), R(0), |
| 29 /* 99 E> */ B(StackCheck), | 29 /* 99 E> */ B(StackCheck), |
| 30 /* 104 S> */ B(LdaConstant), U8(0), | 30 /* 104 S> */ B(LdaConstant), U8(0), |
| 31 /* 111 E> */ B(LdrKeyedProperty), R(closure), U8(3), R(4), | 31 /* 111 E> */ B(LdrKeyedProperty), R(closure), U8(4), R(4), |
| 32 B(LdaConstant), U8(1), | 32 B(LdaConstant), U8(1), |
| 33 B(Star), R(5), | 33 B(Star), R(5), |
| 34 B(Mov), R(this), R(3), | 34 B(Mov), R(this), R(3), |
| 35 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(3), U8(3), | 35 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(3), U8(3), |
| 36 B(Star), R(1), | 36 B(Star), R(1), |
| 37 /* 117 E> */ B(Call), R(1), R(this), U8(1), U8(1), | 37 /* 117 E> */ B(Call), R(1), R(this), U8(1), U8(2), |
| 38 B(Star), R(3), | 38 B(Star), R(3), |
| 39 B(AddSmi), U8(1), R(3), U8(7), | 39 B(AddSmi), U8(1), R(3), U8(8), |
| 40 /* 131 S> */ B(Return), | 40 /* 131 S> */ B(Return), |
| 41 ] | 41 ] |
| 42 constant pool: [ | 42 constant pool: [ |
| 43 SYMBOL_TYPE, | 43 SYMBOL_TYPE, |
| 44 ONE_BYTE_INTERNALIZED_STRING_TYPE ["method"], | 44 ONE_BYTE_INTERNALIZED_STRING_TYPE ["method"], |
| 45 ] | 45 ] |
| 46 handlers: [ | 46 handlers: [ |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 --- | 49 --- |
| (...skipping 11 matching lines...) Expand all Loading... |
| 61 test(); | 61 test(); |
| 62 })(); | 62 })(); |
| 63 " | 63 " |
| 64 frame size: 5 | 64 frame size: 5 |
| 65 parameter count: 1 | 65 parameter count: 1 |
| 66 bytecode array length: 45 | 66 bytecode array length: 45 |
| 67 bytecodes: [ | 67 bytecodes: [ |
| 68 B(Mov), R(closure), R(0), | 68 B(Mov), R(closure), R(0), |
| 69 /* 125 E> */ B(StackCheck), | 69 /* 125 E> */ B(StackCheck), |
| 70 /* 130 S> */ B(LdaConstant), U8(0), | 70 /* 130 S> */ B(LdaConstant), U8(0), |
| 71 /* 130 E> */ B(LdrKeyedProperty), R(closure), U8(1), R(2), | 71 /* 130 E> */ B(LdrKeyedProperty), R(closure), U8(2), R(2), |
| 72 B(LdaConstant), U8(1), | 72 B(LdaConstant), U8(1), |
| 73 B(Star), R(3), | 73 B(Star), R(3), |
| 74 B(LdaSmi), U8(2), | 74 B(LdaSmi), U8(2), |
| 75 B(Star), R(4), | 75 B(Star), R(4), |
| 76 B(Mov), R(this), R(1), | 76 B(Mov), R(this), R(1), |
| 77 /* 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), |
| 78 /* 143 S> */ B(LdaConstant), U8(0), | 78 /* 143 S> */ B(LdaConstant), U8(0), |
| 79 /* 150 E> */ B(LdrKeyedProperty), R(closure), U8(3), R(2), | 79 /* 150 E> */ B(LdrKeyedProperty), R(closure), U8(4), R(2), |
| 80 B(LdaConstant), U8(1), | 80 B(LdaConstant), U8(1), |
| 81 B(Star), R(3), | 81 B(Star), R(3), |
| 82 B(Mov), R(this), R(1), | 82 B(Mov), R(this), R(1), |
| 83 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(1), U8(3), | 83 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(1), U8(3), |
| 84 /* 159 S> */ B(Return), | 84 /* 159 S> */ B(Return), |
| 85 ] | 85 ] |
| 86 constant pool: [ | 86 constant pool: [ |
| 87 SYMBOL_TYPE, | 87 SYMBOL_TYPE, |
| 88 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 88 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 89 ] | 89 ] |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 B(Star), R(3), | 125 B(Star), R(3), |
| 126 /* 118 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), | 126 /* 118 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
| 127 B(Mov), R(2), R(this), | 127 B(Mov), R(2), R(this), |
| 128 /* 128 S> */ B(Ldar), R(this), | 128 /* 128 S> */ B(Ldar), R(this), |
| 129 B(JumpIfNotHole), U8(11), | 129 B(JumpIfNotHole), U8(11), |
| 130 B(LdaConstant), U8(0), | 130 B(LdaConstant), U8(0), |
| 131 B(Star), R(2), | 131 B(Star), R(2), |
| 132 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 132 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
| 133 B(Star), R(2), | 133 B(Star), R(2), |
| 134 B(LdaSmi), U8(2), | 134 B(LdaSmi), U8(2), |
| 135 /* 136 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), | 135 /* 136 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(5), |
| 136 B(Ldar), R(this), | 136 B(Ldar), R(this), |
| 137 B(JumpIfNotHole), U8(11), | 137 B(JumpIfNotHole), U8(11), |
| 138 B(LdaConstant), U8(0), | 138 B(LdaConstant), U8(0), |
| 139 B(Star), R(2), | 139 B(Star), R(2), |
| 140 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 140 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
| 141 /* 141 S> */ B(Return), | 141 /* 141 S> */ B(Return), |
| 142 ] | 142 ] |
| 143 constant pool: [ | 143 constant pool: [ |
| 144 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], | 144 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], |
| 145 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], | 145 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 B(Star), R(3), | 180 B(Star), R(3), |
| 181 /* 117 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), | 181 /* 117 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
| 182 B(Mov), R(2), R(this), | 182 B(Mov), R(2), R(this), |
| 183 /* 126 S> */ B(Ldar), R(this), | 183 /* 126 S> */ B(Ldar), R(this), |
| 184 B(JumpIfNotHole), U8(11), | 184 B(JumpIfNotHole), U8(11), |
| 185 B(LdaConstant), U8(0), | 185 B(LdaConstant), U8(0), |
| 186 B(Star), R(2), | 186 B(Star), R(2), |
| 187 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 187 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
| 188 B(Star), R(2), | 188 B(Star), R(2), |
| 189 B(LdaSmi), U8(2), | 189 B(LdaSmi), U8(2), |
| 190 /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), | 190 /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(5), |
| 191 B(Ldar), R(this), | 191 B(Ldar), R(this), |
| 192 B(JumpIfNotHole), U8(11), | 192 B(JumpIfNotHole), U8(11), |
| 193 B(LdaConstant), U8(0), | 193 B(LdaConstant), U8(0), |
| 194 B(Star), R(2), | 194 B(Star), R(2), |
| 195 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 195 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
| 196 /* 139 S> */ B(Return), | 196 /* 139 S> */ B(Return), |
| 197 ] | 197 ] |
| 198 constant pool: [ | 198 constant pool: [ |
| 199 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], | 199 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], |
| 200 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], | 200 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], |
| 201 ] | 201 ] |
| 202 handlers: [ | 202 handlers: [ |
| 203 ] | 203 ] |
| 204 | 204 |
| OLD | NEW |