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