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