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