| 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 15 matching lines...) Expand all Loading... |
| 26 B(LdaTheHole), | 26 B(LdaTheHole), |
| 27 B(Star), R(2), | 27 B(Star), R(2), |
| 28 B(CreateClosure), U8(0), U8(0), | 28 B(CreateClosure), U8(0), U8(0), |
| 29 B(Star), R(3), | 29 B(Star), R(3), |
| 30 B(LdaSmi), U8(34), | 30 B(LdaSmi), U8(34), |
| 31 B(Star), R(4), | 31 B(Star), R(4), |
| 32 B(Wide), B(LdaSmi), U16(148), | 32 B(Wide), B(LdaSmi), U16(148), |
| 33 B(Star), R(5), | 33 B(Star), R(5), |
| 34 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), | 34 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), |
| 35 B(Star), R(2), | 35 B(Star), R(2), |
| 36 B(LoadIC), R(2), U8(1), U8(1), | 36 B(LdrNamedProperty), R(2), U8(1), U8(1), R(3), |
| 37 B(Star), R(3), | 37 B(Ldar), R(3), |
| 38 B(Mov), R(3), R(4), | 38 B(Star), R(4), |
| 39 B(LdaConstant), U8(2), | 39 B(LdaConstant), U8(2), |
| 40 B(Star), R(5), | 40 B(Star), R(5), |
| 41 B(CreateClosure), U8(3), U8(0), | 41 B(CreateClosure), U8(3), U8(0), |
| 42 B(Star), R(6), | 42 B(Star), R(6), |
| 43 B(LdaSmi), U8(2), | 43 B(LdaSmi), U8(2), |
| 44 B(Star), R(7), | 44 B(Star), R(7), |
| 45 B(LdaZero), | 45 B(LdaZero), |
| 46 B(Star), R(8), | 46 B(Star), R(8), |
| 47 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4)
, U8(5), | 47 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4)
, U8(5), |
| 48 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), | 48 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), |
| (...skipping 30 matching lines...) Expand all Loading... |
| 79 B(LdaTheHole), | 79 B(LdaTheHole), |
| 80 B(Star), R(2), | 80 B(Star), R(2), |
| 81 B(CreateClosure), U8(0), U8(0), | 81 B(CreateClosure), U8(0), U8(0), |
| 82 B(Star), R(3), | 82 B(Star), R(3), |
| 83 B(LdaSmi), U8(34), | 83 B(LdaSmi), U8(34), |
| 84 B(Star), R(4), | 84 B(Star), R(4), |
| 85 B(Wide), B(LdaSmi), U16(148), | 85 B(Wide), B(LdaSmi), U16(148), |
| 86 B(Star), R(5), | 86 B(Star), R(5), |
| 87 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), | 87 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), |
| 88 B(Star), R(2), | 88 B(Star), R(2), |
| 89 B(LoadIC), R(2), U8(1), U8(1), | 89 B(LdrNamedProperty), R(2), U8(1), U8(1), R(3), |
| 90 B(Star), R(3), | 90 B(Ldar), R(3), |
| 91 B(Mov), R(3), R(4), | 91 B(Star), R(4), |
| 92 B(LdaConstant), U8(2), | 92 B(LdaConstant), U8(2), |
| 93 B(Star), R(5), | 93 B(Star), R(5), |
| 94 B(CreateClosure), U8(3), U8(0), | 94 B(CreateClosure), U8(3), U8(0), |
| 95 B(Star), R(6), | 95 B(Star), R(6), |
| 96 B(LdaSmi), U8(2), | 96 B(LdaSmi), U8(2), |
| 97 B(Star), R(7), | 97 B(Star), R(7), |
| 98 B(LdaZero), | 98 B(LdaZero), |
| 99 B(Star), R(8), | 99 B(Star), R(8), |
| 100 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4)
, U8(5), | 100 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4)
, U8(5), |
| 101 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), | 101 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 B(LdaTheHole), | 140 B(LdaTheHole), |
| 141 B(Star), R(3), | 141 B(Star), R(3), |
| 142 B(CreateClosure), U8(2), U8(0), | 142 B(CreateClosure), U8(2), U8(0), |
| 143 B(Star), R(4), | 143 B(Star), R(4), |
| 144 B(LdaSmi), U8(62), | 144 B(LdaSmi), U8(62), |
| 145 B(Star), R(5), | 145 B(Star), R(5), |
| 146 B(Wide), B(LdaSmi), U16(128), | 146 B(Wide), B(LdaSmi), U16(128), |
| 147 B(Star), R(6), | 147 B(Star), R(6), |
| 148 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), | 148 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), |
| 149 B(Star), R(3), | 149 B(Star), R(3), |
| 150 B(LoadIC), R(3), U8(3), U8(1), | 150 B(LdrNamedProperty), R(3), U8(3), U8(1), R(4), |
| 151 B(Star), R(4), | 151 B(Ldar), R(4), |
| 152 B(Mov), R(4), R(5), | 152 B(Star), R(5), |
| 153 /* 75 E> */ B(LdaContextSlot), R(context), U8(4), | 153 /* 75 E> */ B(LdaContextSlot), R(context), U8(4), |
| 154 B(ToName), | 154 B(ToName), |
| 155 B(Star), R(6), | 155 B(Star), R(6), |
| 156 B(CreateClosure), U8(4), U8(0), | 156 B(CreateClosure), U8(4), U8(0), |
| 157 B(Star), R(7), | 157 B(Star), R(7), |
| 158 B(LdaSmi), U8(2), | 158 B(LdaSmi), U8(2), |
| 159 B(Star), R(8), | 159 B(Star), R(8), |
| 160 B(LdaSmi), U8(1), | 160 B(LdaSmi), U8(1), |
| 161 B(Star), R(9), | 161 B(Star), R(9), |
| 162 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5)
, U8(5), | 162 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5)
, U8(5), |
| (...skipping 28 matching lines...) Expand all Loading... |
| 191 ] | 191 ] |
| 192 | 192 |
| 193 --- | 193 --- |
| 194 snippet: " | 194 snippet: " |
| 195 var count = 0; | 195 var count = 0; |
| 196 class C { constructor() { count++; }} | 196 class C { constructor() { count++; }} |
| 197 return new C(); | 197 return new C(); |
| 198 " | 198 " |
| 199 frame size: 7 | 199 frame size: 7 |
| 200 parameter count: 1 | 200 parameter count: 1 |
| 201 bytecode array length: 74 | 201 bytecode array length: 75 |
| 202 bytecodes: [ | 202 bytecodes: [ |
| 203 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 203 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
| 204 B(PushContext), R(2), | 204 B(PushContext), R(2), |
| 205 B(LdaTheHole), | 205 B(LdaTheHole), |
| 206 B(Star), R(1), | 206 B(Star), R(1), |
| 207 /* 30 E> */ B(StackCheck), | 207 /* 30 E> */ B(StackCheck), |
| 208 /* 46 S> */ B(LdaZero), | 208 /* 46 S> */ B(LdaZero), |
| 209 /* 46 E> */ B(StaContextSlot), R(context), U8(4), | 209 /* 46 E> */ B(StaContextSlot), R(context), U8(4), |
| 210 B(LdaTheHole), | 210 B(LdaTheHole), |
| 211 B(Star), R(0), | 211 B(Star), R(0), |
| 212 B(LdaTheHole), | 212 B(LdaTheHole), |
| 213 B(Star), R(3), | 213 B(Star), R(3), |
| 214 B(CreateClosure), U8(0), U8(0), | 214 B(CreateClosure), U8(0), U8(0), |
| 215 B(Star), R(4), | 215 B(Star), R(4), |
| 216 B(LdaSmi), U8(49), | 216 B(LdaSmi), U8(49), |
| 217 B(Star), R(5), | 217 B(Star), R(5), |
| 218 B(LdaSmi), U8(86), | 218 B(LdaSmi), U8(86), |
| 219 B(Star), R(6), | 219 B(Star), R(6), |
| 220 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), | 220 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), |
| 221 B(Star), R(3), | 221 B(Star), R(3), |
| 222 B(LoadIC), R(3), U8(1), U8(1), | 222 B(LdrNamedProperty), R(3), U8(1), U8(1), R(4), |
| 223 B(Star), R(4), | |
| 224 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), | 223 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
| 225 B(Star), R(0), | 224 B(Star), R(0), |
| 226 /* 49 E> */ B(Star), R(1), | 225 /* 49 E> */ B(Star), R(1), |
| 227 /* 87 S> */ B(JumpIfNotHole), U8(11), | 226 /* 87 S> */ B(JumpIfNotHole), U8(11), |
| 228 B(LdaConstant), U8(2), | 227 B(LdaConstant), U8(2), |
| 229 B(Star), R(4), | 228 B(Star), R(4), |
| 230 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 229 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
| 231 B(Star), R(3), | 230 B(Star), R(3), |
| 232 /* 94 E> */ B(New), R(3), R(0), U8(0), | 231 /* 94 E> */ B(Ldar), R(3), |
| 232 B(New), R(3), R(0), U8(0), |
| 233 /* 103 S> */ B(Return), | 233 /* 103 S> */ B(Return), |
| 234 ] | 234 ] |
| 235 constant pool: [ | 235 constant pool: [ |
| 236 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 236 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 237 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 237 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 238 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 238 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 239 ] | 239 ] |
| 240 handlers: [ | 240 handlers: [ |
| 241 ] | 241 ] |
| 242 | 242 |
| OLD | NEW |