| OLD | NEW |
| (Empty) |
| 1 # | |
| 2 # Autogenerated by generate-bytecode-expectations. | |
| 3 # | |
| 4 | |
| 5 --- | |
| 6 pool type: mixed | |
| 7 execute: yes | |
| 8 wrap: yes | |
| 9 legacy const: yes | |
| 10 | |
| 11 --- | |
| 12 snippet: " | |
| 13 const a = 1; { var a = 2; } | |
| 14 " | |
| 15 frame size: 3 | |
| 16 parameter count: 1 | |
| 17 bytecode array length: 16 | |
| 18 bytecodes: [ | |
| 19 B(Wide), B(LdaSmi), U16(152), | |
| 20 B(Star), R(1), | |
| 21 B(LdaConstant), U8(0), | |
| 22 B(Star), R(2), | |
| 23 B(CallRuntime), U16(Runtime::kNewSyntaxError), R(1), U8(2), | |
| 24 B(Throw), | |
| 25 ] | |
| 26 constant pool: [ | |
| 27 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | |
| 28 ] | |
| 29 handlers: [ | |
| 30 ] | |
| 31 | |
| OLD | NEW |