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