OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: yes | 6 wrap: yes |
7 | 7 |
8 --- | 8 --- |
9 snippet: " | 9 snippet: " |
10 return eval('1;'); | 10 return eval('1;'); |
11 " | 11 " |
12 frame size: 10 | 12 frame size: 10 |
13 parameter count: 1 | 13 parameter count: 1 |
14 bytecode array length: 69 | 14 bytecode array length: 63 |
15 bytecodes: [ | 15 bytecodes: [ |
16 B(CreateFunctionContext), U8(3), | 16 B(CreateFunctionContext), U8(3), |
17 B(PushContext), R(0), | 17 B(PushContext), R(0), |
18 B(Ldar), R(this), | 18 B(Ldar), R(this), |
19 B(StaContextSlot), R(context), U8(4), U8(0), | 19 B(StaCurrentContextSlot), U8(4), |
20 B(CreateMappedArguments), | 20 B(CreateMappedArguments), |
21 B(StaContextSlot), R(context), U8(6), U8(0), | 21 B(StaCurrentContextSlot), U8(6), |
22 B(Ldar), R(new_target), | 22 B(Ldar), R(new_target), |
23 B(StaContextSlot), R(context), U8(5), U8(0), | 23 B(StaCurrentContextSlot), U8(5), |
24 /* 30 E> */ B(StackCheck), | 24 /* 30 E> */ B(StackCheck), |
25 /* 34 S> */ B(LdaConstant), U8(0), | 25 /* 34 S> */ B(LdaConstant), U8(0), |
26 B(Star), R(4), | 26 B(Star), R(4), |
27 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(4
), U8(1), R(1), | 27 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(4
), U8(1), R(1), |
28 B(LdaConstant), U8(1), | 28 B(LdaConstant), U8(1), |
29 B(Star), R(3), | 29 B(Star), R(3), |
30 B(LdaZero), | 30 B(LdaZero), |
31 B(Star), R(7), | 31 B(Star), R(7), |
32 B(LdaSmi), U8(30), | 32 B(LdaSmi), U8(30), |
33 B(Star), R(8), | 33 B(Star), R(8), |
34 B(LdaSmi), U8(41), | 34 B(LdaSmi), U8(41), |
35 B(Star), R(9), | 35 B(Star), R(9), |
36 B(Mov), R(1), R(4), | 36 B(Mov), R(1), R(4), |
37 B(Mov), R(3), R(5), | 37 B(Mov), R(3), R(5), |
38 B(Mov), R(closure), R(6), | 38 B(Mov), R(closure), R(6), |
39 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 39 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
40 B(Star), R(1), | 40 B(Star), R(1), |
41 /* 41 E> */ B(Call), R(1), R(2), U8(2), U8(2), | 41 /* 41 E> */ B(Call), R(1), R(2), U8(2), U8(2), |
42 /* 53 S> */ B(Return), | 42 /* 53 S> */ B(Return), |
43 ] | 43 ] |
44 constant pool: [ | 44 constant pool: [ |
45 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], | 45 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], |
46 ONE_BYTE_INTERNALIZED_STRING_TYPE ["1;"], | 46 ONE_BYTE_INTERNALIZED_STRING_TYPE ["1;"], |
47 ] | 47 ] |
48 handlers: [ | 48 handlers: [ |
49 ] | 49 ] |
50 | 50 |
OLD | NEW |