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 function(){ } | 12 return function(){ } |
13 " | 13 " |
14 frame size: 0 | 14 frame size: 0 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 5 | 16 bytecode array length: 5 |
17 bytecodes: [ | 17 bytecodes: [ |
18 /* 30 E> */ B(StackCheck), | 18 /* 30 E> */ B(StackCheck), |
19 /* 34 S> */ B(CreateClosure), U8(0), U8(0), | 19 /* 34 S> */ B(CreateClosure), U8(0), U8(2), |
20 /* 55 S> */ B(Return), | 20 /* 55 S> */ B(Return), |
21 ] | 21 ] |
22 constant pool: [ | 22 constant pool: [ |
23 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 23 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
24 ] | 24 ] |
25 handlers: [ | 25 handlers: [ |
26 ] | 26 ] |
27 | 27 |
28 --- | 28 --- |
29 snippet: " | 29 snippet: " |
30 return (function(){ })() | 30 return (function(){ })() |
31 " | 31 " |
32 frame size: 2 | 32 frame size: 2 |
33 parameter count: 1 | 33 parameter count: 1 |
34 bytecode array length: 14 | 34 bytecode array length: 14 |
35 bytecodes: [ | 35 bytecodes: [ |
36 /* 30 E> */ B(StackCheck), | 36 /* 30 E> */ B(StackCheck), |
37 /* 34 S> */ B(LdrUndefined), R(1), | 37 /* 34 S> */ B(LdrUndefined), R(1), |
38 B(CreateClosure), U8(0), U8(0), | 38 B(CreateClosure), U8(0), U8(2), |
39 B(Star), R(0), | 39 B(Star), R(0), |
40 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(1), | 40 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(1), |
41 /* 59 S> */ B(Return), | 41 /* 59 S> */ B(Return), |
42 ] | 42 ] |
43 constant pool: [ | 43 constant pool: [ |
44 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 44 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
45 ] | 45 ] |
46 handlers: [ | 46 handlers: [ |
47 ] | 47 ] |
48 | 48 |
49 --- | 49 --- |
50 snippet: " | 50 snippet: " |
51 return (function(x){ return x; })(1) | 51 return (function(x){ return x; })(1) |
52 " | 52 " |
53 frame size: 3 | 53 frame size: 3 |
54 parameter count: 1 | 54 parameter count: 1 |
55 bytecode array length: 18 | 55 bytecode array length: 18 |
56 bytecodes: [ | 56 bytecodes: [ |
57 /* 30 E> */ B(StackCheck), | 57 /* 30 E> */ B(StackCheck), |
58 /* 34 S> */ B(LdrUndefined), R(1), | 58 /* 34 S> */ B(LdrUndefined), R(1), |
59 B(CreateClosure), U8(0), U8(0), | 59 B(CreateClosure), U8(0), U8(2), |
60 B(Star), R(0), | 60 B(Star), R(0), |
61 B(LdaSmi), U8(1), | 61 B(LdaSmi), U8(1), |
62 B(Star), R(2), | 62 B(Star), R(2), |
63 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(1), | 63 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(1), |
64 /* 71 S> */ B(Return), | 64 /* 71 S> */ B(Return), |
65 ] | 65 ] |
66 constant pool: [ | 66 constant pool: [ |
67 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 67 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
68 ] | 68 ] |
69 handlers: [ | 69 handlers: [ |
70 ] | 70 ] |
71 | 71 |
OLD | NEW |