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