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 --- |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 handlers: [ | 97 handlers: [ |
98 ] | 98 ] |
99 | 99 |
100 --- | 100 --- |
101 snippet: " | 101 snippet: " |
102 var x = 0; | 102 var x = 0; |
103 for (var p in [1,2,3]) { x += p; } | 103 for (var p in [1,2,3]) { x += p; } |
104 " | 104 " |
105 frame size: 9 | 105 frame size: 9 |
106 parameter count: 1 | 106 parameter count: 1 |
107 bytecode array length: 54 | 107 bytecode array length: 55 |
108 bytecodes: [ | 108 bytecodes: [ |
109 /* 30 E> */ B(StackCheck), | 109 /* 30 E> */ B(StackCheck), |
110 /* 42 S> */ B(LdaZero), | 110 /* 42 S> */ B(LdaZero), |
111 B(Star), R(1), | 111 B(Star), R(1), |
112 /* 59 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 112 /* 59 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
113 B(JumpIfUndefined), U8(44), | 113 B(JumpIfUndefined), U8(45), |
114 B(JumpIfNull), U8(42), | 114 B(JumpIfNull), U8(43), |
115 B(ToObject), R(3), | 115 B(ToObject), R(3), |
116 B(ForInPrepare), R(3), R(4), | 116 B(ForInPrepare), R(3), R(4), |
117 B(LdaZero), | 117 B(LdaZero), |
118 B(Star), R(7), | 118 B(Star), R(7), |
119 /* 54 S> */ B(ForInDone), R(7), R(6), | 119 /* 54 S> */ B(ForInDone), R(7), R(6), |
120 B(JumpIfTrue), U8(29), | 120 B(JumpIfTrue), U8(30), |
121 B(ForInNext), R(3), R(7), R(4), U8(1), | 121 B(ForInNext), R(3), R(7), R(4), U8(2), |
122 B(JumpIfUndefined), U8(16), | 122 B(JumpIfUndefined), U8(17), |
123 B(Star), R(0), | 123 B(Star), R(0), |
124 /* 45 E> */ B(StackCheck), | 124 /* 45 E> */ B(StackCheck), |
125 B(Star), R(2), | 125 B(Star), R(2), |
126 /* 70 S> */ B(Ldar), R(0), | 126 /* 70 S> */ B(Ldar), R(0), |
127 /* 75 E> */ B(Add), R(1), | 127 /* 75 E> */ B(Add), R(1), U8(1), |
128 B(Mov), R(1), R(8), | 128 B(Mov), R(1), R(8), |
129 B(Star), R(1), | 129 B(Star), R(1), |
130 /* 72 E> */ B(ForInStep), R(7), | 130 /* 72 E> */ B(ForInStep), R(7), |
131 B(Star), R(7), | 131 B(Star), R(7), |
132 B(Jump), U8(-30), | 132 B(Jump), U8(-31), |
133 B(LdaUndefined), | 133 B(LdaUndefined), |
134 /* 80 S> */ B(Return), | 134 /* 80 S> */ B(Return), |
135 ] | 135 ] |
136 constant pool: [ | 136 constant pool: [ |
137 InstanceType::FIXED_ARRAY_TYPE, | 137 InstanceType::FIXED_ARRAY_TYPE, |
138 ] | 138 ] |
139 handlers: [ | 139 handlers: [ |
140 ] | 140 ] |
141 | 141 |
142 --- | 142 --- |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 B(LdaUndefined), | 233 B(LdaUndefined), |
234 /* 98 S> */ B(Return), | 234 /* 98 S> */ B(Return), |
235 ] | 235 ] |
236 constant pool: [ | 236 constant pool: [ |
237 InstanceType::FIXED_ARRAY_TYPE, | 237 InstanceType::FIXED_ARRAY_TYPE, |
238 InstanceType::FIXED_ARRAY_TYPE, | 238 InstanceType::FIXED_ARRAY_TYPE, |
239 ] | 239 ] |
240 handlers: [ | 240 handlers: [ |
241 ] | 241 ] |
242 | 242 |
OLD | NEW |