| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 wrap: no | 6 wrap: no |
| 7 test function name: test | 7 test function name: test |
| 8 | 8 |
| 9 --- | 9 --- |
| 10 snippet: " | 10 snippet: " |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 /* 104 S> */ B(LdaConstant), U8(0), | 29 /* 104 S> */ B(LdaConstant), U8(0), |
| 30 /* 111 E> */ B(LdaKeyedProperty), R(closure), U8(4), | 30 /* 111 E> */ B(LdaKeyedProperty), R(closure), U8(4), |
| 31 B(Star), R(4), | 31 B(Star), 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(2), | 37 /* 117 E> */ B(Call), R(1), R(this), U8(1), U8(2), |
| 38 B(Star), R(1), | 38 B(Star), R(1), |
| 39 /* 126 E> */ B(AddSmi), U8(1), R(1), U8(8), | 39 /* 126 E> */ B(AddSmi), I8(1), R(1), 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 15 matching lines...) Expand all Loading... |
| 65 parameter count: 1 | 65 parameter count: 1 |
| 66 bytecode array length: 47 | 66 bytecode array length: 47 |
| 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(LdaKeyedProperty), R(closure), U8(2), | 71 /* 130 E> */ B(LdaKeyedProperty), R(closure), U8(2), |
| 72 B(Star), R(2), | 72 B(Star), R(2), |
| 73 B(LdaConstant), U8(1), | 73 B(LdaConstant), U8(1), |
| 74 B(Star), R(3), | 74 B(Star), R(3), |
| 75 B(LdaSmi), U8(2), | 75 B(LdaSmi), I8(2), |
| 76 B(Star), R(4), | 76 B(Star), R(4), |
| 77 B(Mov), R(this), R(1), | 77 B(Mov), R(this), R(1), |
| 78 /* 138 E> */ B(CallRuntime), U16(Runtime::kStoreToSuper_Strict), R(1), U8(4), | 78 /* 138 E> */ B(CallRuntime), U16(Runtime::kStoreToSuper_Strict), R(1), U8(4), |
| 79 /* 143 S> */ B(LdaConstant), U8(0), | 79 /* 143 S> */ B(LdaConstant), U8(0), |
| 80 /* 150 E> */ B(LdaKeyedProperty), R(closure), U8(4), | 80 /* 150 E> */ B(LdaKeyedProperty), R(closure), U8(4), |
| 81 B(Star), R(2), | 81 B(Star), R(2), |
| 82 B(LdaConstant), U8(1), | 82 B(LdaConstant), U8(1), |
| 83 B(Star), R(3), | 83 B(Star), R(3), |
| 84 B(Mov), R(this), R(1), | 84 B(Mov), R(this), R(1), |
| 85 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(1), U8(3), | 85 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(1), U8(3), |
| (...skipping 22 matching lines...) Expand all Loading... |
| 108 frame size: 4 | 108 frame size: 4 |
| 109 parameter count: 1 | 109 parameter count: 1 |
| 110 bytecode array length: 75 | 110 bytecode array length: 75 |
| 111 bytecodes: [ | 111 bytecodes: [ |
| 112 B(Mov), R(closure), R(1), | 112 B(Mov), R(closure), R(1), |
| 113 B(Mov), R(new_target), R(0), | 113 B(Mov), R(new_target), R(0), |
| 114 B(Ldar), R(new_target), | 114 B(Ldar), R(new_target), |
| 115 /* 113 E> */ B(StackCheck), | 115 /* 113 E> */ B(StackCheck), |
| 116 /* 118 S> */ B(Ldar), R(1), | 116 /* 118 S> */ B(Ldar), R(1), |
| 117 B(GetSuperConstructor), R(2), | 117 B(GetSuperConstructor), R(2), |
| 118 B(LdaSmi), U8(1), | 118 B(LdaSmi), I8(1), |
| 119 B(Star), R(3), | 119 B(Star), R(3), |
| 120 B(Ldar), R(0), | 120 B(Ldar), R(0), |
| 121 /* 118 E> */ B(New), R(2), R(3), U8(1), U8(2), | 121 /* 118 E> */ B(New), R(2), R(3), U8(1), U8(2), |
| 122 B(Star), R(2), | 122 B(Star), R(2), |
| 123 B(Ldar), R(this), | 123 B(Ldar), R(this), |
| 124 B(JumpIfNotHole), U8(4), | 124 B(JumpIfNotHole), U8(4), |
| 125 B(Jump), U8(7), | 125 B(Jump), U8(7), |
| 126 /* 118 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), | 126 /* 118 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), |
| 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), I8(2), |
| 135 /* 136 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), | 135 /* 136 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), |
| 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"], |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 B(JumpIfNotHole), U8(4), | 177 B(JumpIfNotHole), U8(4), |
| 178 B(Jump), U8(7), | 178 B(Jump), U8(7), |
| 179 /* 117 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), | 179 /* 117 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), |
| 180 B(Mov), R(2), R(this), | 180 B(Mov), R(2), R(this), |
| 181 /* 126 S> */ B(Ldar), R(this), | 181 /* 126 S> */ B(Ldar), R(this), |
| 182 B(JumpIfNotHole), U8(11), | 182 B(JumpIfNotHole), U8(11), |
| 183 B(LdaConstant), U8(0), | 183 B(LdaConstant), U8(0), |
| 184 B(Star), R(2), | 184 B(Star), R(2), |
| 185 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 185 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
| 186 B(Star), R(2), | 186 B(Star), R(2), |
| 187 B(LdaSmi), U8(2), | 187 B(LdaSmi), I8(2), |
| 188 /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), | 188 /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), |
| 189 B(Ldar), R(this), | 189 B(Ldar), R(this), |
| 190 B(JumpIfNotHole), U8(11), | 190 B(JumpIfNotHole), U8(11), |
| 191 B(LdaConstant), U8(0), | 191 B(LdaConstant), U8(0), |
| 192 B(Star), R(2), | 192 B(Star), R(2), |
| 193 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 193 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
| 194 /* 139 S> */ B(Return), | 194 /* 139 S> */ B(Return), |
| 195 ] | 195 ] |
| 196 constant pool: [ | 196 constant pool: [ |
| 197 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], | 197 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], |
| 198 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], | 198 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], |
| 199 ] | 199 ] |
| 200 handlers: [ | 200 handlers: [ |
| 201 ] | 201 ] |
| 202 | 202 |
| OLD | NEW |