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 [ 1, 2 ]; | 10 return [ 1, 2 ]; |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 --- | 26 --- |
27 snippet: " | 27 snippet: " |
28 var a = 1; return [ a, a + 1 ]; | 28 var a = 1; return [ a, a + 1 ]; |
29 " | 29 " |
30 frame size: 3 | 30 frame size: 3 |
31 parameter count: 1 | 31 parameter count: 1 |
32 bytecode array length: 35 | 32 bytecode array length: 35 |
33 bytecodes: [ | 33 bytecodes: [ |
34 /* 30 E> */ B(StackCheck), | 34 /* 30 E> */ B(StackCheck), |
35 /* 42 S> */ B(LdaSmi), U8(1), | 35 /* 42 S> */ B(LdaSmi), I8(1), |
36 B(Star), R(0), | 36 B(Star), R(0), |
37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), | 37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), |
38 B(Star), R(2), | 38 B(Star), R(2), |
39 B(LdaZero), | 39 B(LdaZero), |
40 B(Star), R(1), | 40 B(Star), R(1), |
41 B(Ldar), R(0), | 41 B(Ldar), R(0), |
42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(3), | 42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(3), |
43 B(LdaSmi), U8(1), | 43 B(LdaSmi), I8(1), |
44 B(Star), R(1), | 44 B(Star), R(1), |
45 /* 59 E> */ B(AddSmi), U8(1), R(0), U8(2), | 45 /* 59 E> */ B(AddSmi), I8(1), R(0), U8(2), |
46 B(StaKeyedPropertySloppy), R(2), R(1), U8(3), | 46 B(StaKeyedPropertySloppy), R(2), R(1), U8(3), |
47 B(Ldar), R(2), | 47 B(Ldar), R(2), |
48 /* 66 S> */ B(Return), | 48 /* 66 S> */ B(Return), |
49 ] | 49 ] |
50 constant pool: [ | 50 constant pool: [ |
51 CONSTANT_ELEMENTS_PAIR_TYPE, | 51 CONSTANT_ELEMENTS_PAIR_TYPE, |
52 ] | 52 ] |
53 handlers: [ | 53 handlers: [ |
54 ] | 54 ] |
55 | 55 |
(...skipping 17 matching lines...) Expand all Loading... |
73 | 73 |
74 --- | 74 --- |
75 snippet: " | 75 snippet: " |
76 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; | 76 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; |
77 " | 77 " |
78 frame size: 5 | 78 frame size: 5 |
79 parameter count: 1 | 79 parameter count: 1 |
80 bytecode array length: 65 | 80 bytecode array length: 65 |
81 bytecodes: [ | 81 bytecodes: [ |
82 /* 30 E> */ B(StackCheck), | 82 /* 30 E> */ B(StackCheck), |
83 /* 42 S> */ B(LdaSmi), U8(1), | 83 /* 42 S> */ B(LdaSmi), I8(1), |
84 B(Star), R(0), | 84 B(Star), R(0), |
85 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(0), | 85 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(0), |
86 B(Star), R(2), | 86 B(Star), R(2), |
87 B(LdaZero), | 87 B(LdaZero), |
88 B(Star), R(1), | 88 B(Star), R(1), |
89 B(CreateArrayLiteral), U8(1), U8(0), U8(9), | 89 B(CreateArrayLiteral), U8(1), U8(0), U8(9), |
90 B(Star), R(4), | 90 B(Star), R(4), |
91 B(LdaZero), | 91 B(LdaZero), |
92 B(Star), R(3), | 92 B(Star), R(3), |
93 B(Ldar), R(0), | 93 B(Ldar), R(0), |
94 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(2), | 94 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(2), |
95 B(Ldar), R(4), | 95 B(Ldar), R(4), |
96 B(StaKeyedPropertySloppy), R(2), R(1), U8(7), | 96 B(StaKeyedPropertySloppy), R(2), R(1), U8(7), |
97 B(LdaSmi), U8(1), | 97 B(LdaSmi), I8(1), |
98 B(Star), R(1), | 98 B(Star), R(1), |
99 B(CreateArrayLiteral), U8(2), U8(1), U8(9), | 99 B(CreateArrayLiteral), U8(2), U8(1), U8(9), |
100 B(Star), R(4), | 100 B(Star), R(4), |
101 B(LdaZero), | 101 B(LdaZero), |
102 B(Star), R(3), | 102 B(Star), R(3), |
103 /* 68 E> */ B(AddSmi), U8(2), R(0), U8(4), | 103 /* 68 E> */ B(AddSmi), I8(2), R(0), U8(4), |
104 B(StaKeyedPropertySloppy), R(4), R(3), U8(5), | 104 B(StaKeyedPropertySloppy), R(4), R(3), U8(5), |
105 B(Ldar), R(4), | 105 B(Ldar), R(4), |
106 B(StaKeyedPropertySloppy), R(2), R(1), U8(7), | 106 B(StaKeyedPropertySloppy), R(2), R(1), U8(7), |
107 B(Ldar), R(2), | 107 B(Ldar), R(2), |
108 /* 77 S> */ B(Return), | 108 /* 77 S> */ B(Return), |
109 ] | 109 ] |
110 constant pool: [ | 110 constant pool: [ |
111 CONSTANT_ELEMENTS_PAIR_TYPE, | 111 CONSTANT_ELEMENTS_PAIR_TYPE, |
112 CONSTANT_ELEMENTS_PAIR_TYPE, | 112 CONSTANT_ELEMENTS_PAIR_TYPE, |
113 CONSTANT_ELEMENTS_PAIR_TYPE, | 113 CONSTANT_ELEMENTS_PAIR_TYPE, |
114 ] | 114 ] |
115 handlers: [ | 115 handlers: [ |
116 ] | 116 ] |
117 | 117 |
OLD | NEW |