Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame^] | 1 | # |
| 2 | # Autogenerated by generate-bytecode-expectations. |
| 3 | # |
| 4 | |
| 5 | --- |
| 6 | pool type: mixed |
| 7 | execute: yes |
| 8 | wrap: yes |
| 9 | |
| 10 | --- |
| 11 | snippet: " |
| 12 | return new.target; |
| 13 | " |
| 14 | frame size: 2 |
| 15 | parameter count: 1 |
| 16 | bytecode array length: 19 |
| 17 | bytecodes: [ |
| 18 | B(Ldar), R(new_target), |
| 19 | B(Star), R(0), |
| 20 | B(StackCheck), |
| 21 | B(Ldar), R(0), |
| 22 | B(JumpIfNotHole), U8(11), |
| 23 | B(LdaConstant), U8(0), |
| 24 | B(Star), R(1), |
| 25 | B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1), |
| 26 | B(Return), |
| 27 | ] |
| 28 | constant pool: [ |
| 29 | InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 30 | ] |
| 31 | handlers: [ |
| 32 | ] |
| 33 | |
| 34 | --- |
| 35 | snippet: " |
| 36 | new.target; |
| 37 | " |
| 38 | frame size: 2 |
| 39 | parameter count: 1 |
| 40 | bytecode array length: 20 |
| 41 | bytecodes: [ |
| 42 | B(Ldar), R(new_target), |
| 43 | B(Star), R(0), |
| 44 | B(StackCheck), |
| 45 | B(Ldar), R(0), |
| 46 | B(JumpIfNotHole), U8(11), |
| 47 | B(LdaConstant), U8(0), |
| 48 | B(Star), R(1), |
| 49 | B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1), |
| 50 | B(LdaUndefined), |
| 51 | B(Return), |
| 52 | ] |
| 53 | constant pool: [ |
| 54 | InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 55 | ] |
| 56 | handlers: [ |
| 57 | ] |
| 58 | |