| 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 return new.target; | 12 return new.target; |
| 13 " | 13 " |
| 14 frame size: 2 | 14 frame size: 1 |
| 15 parameter count: 1 | 15 parameter count: 1 |
| 16 bytecode array length: 18 | 16 bytecode array length: 7 |
| 17 bytecodes: [ | 17 bytecodes: [ |
| 18 B(Mov), R(new_target), R(0), | 18 B(Mov), R(new_target), R(0), |
| 19 /* 30 E> */ B(StackCheck), | 19 /* 30 E> */ B(StackCheck), |
| 20 /* 34 S> */ B(Ldar), R(new_target), | 20 /* 34 S> */ B(Ldar), R(0), |
| 21 B(JumpIfNotHole), U8(11), | |
| 22 B(LdaConstant), U8(0), | |
| 23 B(Star), R(1), | |
| 24 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1), | |
| 25 /* 53 S> */ B(Return), | 21 /* 53 S> */ B(Return), |
| 26 ] | 22 ] |
| 27 constant pool: [ | 23 constant pool: [ |
| 28 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | |
| 29 ] | 24 ] |
| 30 handlers: [ | 25 handlers: [ |
| 31 ] | 26 ] |
| 32 | 27 |
| 33 --- | 28 --- |
| 34 snippet: " | 29 snippet: " |
| 35 new.target; | 30 new.target; |
| 36 " | 31 " |
| 37 frame size: 2 | 32 frame size: 1 |
| 38 parameter count: 1 | 33 parameter count: 1 |
| 39 bytecode array length: 19 | 34 bytecode array length: 6 |
| 40 bytecodes: [ | 35 bytecodes: [ |
| 41 B(Mov), R(new_target), R(0), | 36 B(Mov), R(new_target), R(0), |
| 42 /* 30 E> */ B(StackCheck), | 37 /* 30 E> */ B(StackCheck), |
| 43 /* 34 S> */ B(Ldar), R(new_target), | 38 /* 34 S> */ B(LdaUndefined), |
| 44 B(JumpIfNotHole), U8(11), | |
| 45 B(LdaConstant), U8(0), | |
| 46 B(Star), R(1), | |
| 47 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1), | |
| 48 B(LdaUndefined), | |
| 49 /* 46 S> */ B(Return), | 39 /* 46 S> */ B(Return), |
| 50 ] | 40 ] |
| 51 constant pool: [ | 41 constant pool: [ |
| 52 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | |
| 53 ] | 42 ] |
| 54 handlers: [ | 43 handlers: [ |
| 55 ] | 44 ] |
| 56 | 45 |
| OLD | NEW |