| 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 --- |
| 11 snippet: " | 11 snippet: " |
| 12 var x = 0; | 12 var x = 0; |
| 13 label: { | 13 label: { |
| 14 x = x + 1; | 14 x = x + 1; |
| 15 break label; | 15 break label; |
| 16 x = x + 1; | 16 x = x + 1; |
| 17 } | 17 } |
| 18 return x; | 18 return x; |
| 19 " | 19 " |
| 20 frame size: 1 | 20 frame size: 1 |
| 21 parameter count: 1 | 21 parameter count: 1 |
| 22 bytecode array length: 15 | 22 bytecode array length: 14 |
| 23 bytecodes: [ | 23 bytecodes: [ |
| 24 /* 30 E> */ B(StackCheck), | 24 /* 30 E> */ B(StackCheck), |
| 25 /* 42 S> */ B(LdaZero), | 25 /* 42 S> */ B(LdaZero), |
| 26 B(Star), R(0), | 26 B(Star), R(0), |
| 27 /* 56 S> */ B(LdaSmi), U8(1), | 27 /* 56 S> */ B(AddSmi), U8(1), R(0), |
| 28 B(Add), R(0), | |
| 29 B(Star), R(0), | 28 B(Star), R(0), |
| 30 /* 69 S> */ B(Jump), U8(2), | 29 /* 69 S> */ B(Jump), U8(2), |
| 31 /* 97 S> */ B(Ldar), R(0), | 30 /* 97 S> */ B(Ldar), R(0), |
| 32 /* 107 S> */ B(Return), | 31 /* 107 S> */ B(Return), |
| 33 ] | 32 ] |
| 34 constant pool: [ | 33 constant pool: [ |
| 35 ] | 34 ] |
| 36 handlers: [ | 35 handlers: [ |
| 37 ] | 36 ] |
| 38 | 37 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 constant pool: [ | 210 constant pool: [ |
| 212 InstanceType::FIXED_ARRAY_TYPE, | 211 InstanceType::FIXED_ARRAY_TYPE, |
| 213 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 212 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 214 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 213 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 215 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 214 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 216 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 215 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 217 ] | 216 ] |
| 218 handlers: [ | 217 handlers: [ |
| 219 ] | 218 ] |
| 220 | 219 |
| OLD | NEW |