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 g = function(){}; eval(''); return g(); | 12 g = function(){}; eval(''); return g(); |
13 " | 13 " |
14 frame size: 10 | 14 frame size: 10 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 86 | 16 bytecode array length: 86 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(CreateFunctionContext), U8(3), | 18 B(CreateFunctionContext), U8(3), |
19 B(PushContext), R(0), | 19 B(PushContext), R(0), |
20 B(Ldar), R(this), | 20 B(Ldar), R(this), |
21 B(StaContextSlot), R(context), U8(4), | 21 B(StaContextSlot), R(context), U8(4), |
22 B(CreateMappedArguments), | 22 B(CreateMappedArguments), |
| 23 B(StaContextSlot), R(context), U8(5), |
| 24 B(Ldar), R(new_target), |
23 B(StaContextSlot), R(context), U8(6), | 25 B(StaContextSlot), R(context), U8(6), |
24 B(Ldar), R(new_target), | |
25 B(StaContextSlot), R(context), U8(5), | |
26 /* 30 E> */ B(StackCheck), | 26 /* 30 E> */ B(StackCheck), |
27 /* 34 S> */ B(CreateClosure), U8(0), U8(2), | 27 /* 34 S> */ B(CreateClosure), U8(0), U8(2), |
28 /* 36 E> */ B(StaLookupSlotSloppy), U8(1), | 28 /* 36 E> */ B(StaLookupSlotSloppy), U8(1), |
29 /* 52 S> */ B(LdaConstant), U8(2), | 29 /* 52 S> */ B(LdaConstant), U8(2), |
30 B(Star), R(3), | 30 B(Star), R(3), |
31 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3
), U8(1), R(1), | 31 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3
), U8(1), R(1), |
32 B(LdaConstant), U8(3), | 32 B(LdaConstant), U8(3), |
33 B(Star), R(3), | 33 B(Star), R(3), |
34 B(LdaZero), | 34 B(LdaZero), |
35 B(Star), R(7), | 35 B(Star), R(7), |
(...skipping 15 matching lines...) Expand all Loading... |
51 ] | 51 ] |
52 constant pool: [ | 52 constant pool: [ |
53 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 53 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
54 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 54 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
55 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 55 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
56 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 56 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
57 ] | 57 ] |
58 handlers: [ | 58 handlers: [ |
59 ] | 59 ] |
60 | 60 |
OLD | NEW |