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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 for (var y = 0; y < 3; ++y) { | 44 for (var y = 0; y < 3; ++y) { |
45 ++sum; | 45 ++sum; |
46 if (x + y == 12) { break outer; } | 46 if (x + y == 12) { break outer; } |
47 } | 47 } |
48 } | 48 } |
49 } | 49 } |
50 return sum; | 50 return sum; |
51 " | 51 " |
52 frame size: 5 | 52 frame size: 5 |
53 parameter count: 1 | 53 parameter count: 1 |
54 bytecode array length: 61 | 54 bytecode array length: 60 |
55 bytecodes: [ | 55 bytecodes: [ |
56 /* 30 E> */ B(StackCheck), | 56 /* 30 E> */ B(StackCheck), |
57 /* 44 S> */ B(LdaZero), | 57 /* 44 S> */ B(LdaZero), |
58 B(Star), R(0), | 58 B(Star), R(0), |
59 /* 71 S> */ B(LdaZero), | 59 /* 71 S> */ B(LdaZero), |
60 /* 71 E> */ B(Star), R(1), | 60 B(Star), R(1), |
61 /* 76 S> */ B(LdaSmi), U8(10), | 61 /* 76 S> */ B(LdaSmi), U8(10), |
62 /* 76 E> */ B(TestLessThan), R(1), | 62 /* 76 E> */ B(TestLessThan), R(1), |
63 B(JumpIfFalse), U8(47), | 63 B(JumpIfFalse), U8(46), |
64 /* 58 E> */ B(StackCheck), | 64 /* 58 E> */ B(StackCheck), |
65 /* 106 S> */ B(LdaZero), | 65 /* 106 S> */ B(LdaZero), |
66 /* 106 E> */ B(Star), R(2), | 66 B(Star), R(2), |
67 /* 111 S> */ B(LdaSmi), U8(3), | 67 /* 111 S> */ B(LdaSmi), U8(3), |
68 /* 111 E> */ B(TestLessThan), R(2), | 68 /* 111 E> */ B(TestLessThan), R(2), |
69 B(JumpIfFalse), U8(30), | 69 B(JumpIfFalse), U8(29), |
70 /* 93 E> */ B(StackCheck), | 70 /* 93 E> */ B(StackCheck), |
71 /* 129 S> */ B(Ldar), R(0), | 71 /* 129 S> */ B(Ldar), R(0), |
72 B(Inc), | 72 B(Inc), |
73 B(Star), R(0), | 73 B(Star), R(0), |
74 /* 142 S> */ B(Nop), | 74 /* 142 S> */ B(Ldar), R(2), |
75 /* 150 E> */ B(Ldar), R(2), | 75 /* 150 E> */ B(Add), R(1), |
76 B(Add), R(1), | |
77 B(Star), R(4), | 76 B(Star), R(4), |
78 B(LdaSmi), U8(12), | 77 B(LdaSmi), U8(12), |
79 /* 152 E> */ B(TestEqual), R(4), | 78 /* 152 E> */ B(TestEqual), R(4), |
80 B(JumpIfFalse), U8(4), | 79 B(JumpIfFalse), U8(4), |
81 /* 161 S> */ B(Jump), U8(16), | 80 /* 161 S> */ B(Jump), U8(16), |
82 /* 118 S> */ B(Ldar), R(2), | 81 /* 118 S> */ B(Ldar), R(2), |
83 B(Inc), | 82 B(Inc), |
84 /* 118 E> */ B(Star), R(2), | 83 B(Star), R(2), |
85 B(Jump), U8(-32), | 84 B(Jump), U8(-31), |
86 /* 84 S> */ B(Ldar), R(1), | 85 /* 84 S> */ B(Ldar), R(1), |
87 B(Inc), | 86 B(Inc), |
88 /* 84 E> */ B(Star), R(1), | 87 B(Star), R(1), |
89 B(Jump), U8(-49), | 88 B(Jump), U8(-48), |
90 /* 188 S> */ B(Ldar), R(0), | 89 /* 188 S> */ B(Ldar), R(0), |
91 /* 200 S> */ B(Return), | 90 /* 200 S> */ B(Return), |
92 ] | 91 ] |
93 constant pool: [ | 92 constant pool: [ |
94 ] | 93 ] |
95 handlers: [ | 94 handlers: [ |
96 ] | 95 ] |
97 | 96 |
98 --- | 97 --- |
99 snippet: " | 98 snippet: " |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 B(Star), R(1), | 180 B(Star), R(1), |
182 /* 118 S> */ B(LdaContextSlot), R(context), U8(4), | 181 /* 118 S> */ B(LdaContextSlot), R(context), U8(4), |
183 B(JumpIfNotHole), U8(11), | 182 B(JumpIfNotHole), U8(11), |
184 B(LdaConstant), U8(3), | 183 B(LdaConstant), U8(3), |
185 B(Star), R(4), | 184 B(Star), R(4), |
186 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 185 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
187 B(JumpIfToBooleanFalse), U8(6), | 186 B(JumpIfToBooleanFalse), U8(6), |
188 /* 125 S> */ B(PopContext), R(3), | 187 /* 125 S> */ B(PopContext), R(3), |
189 B(Jump), U8(27), | 188 B(Jump), U8(27), |
190 /* 142 S> */ B(LdaSmi), U8(3), | 189 /* 142 S> */ B(LdaSmi), U8(3), |
191 /* 144 E> */ B(Star), R(4), | 190 B(Star), R(4), |
192 B(LdaContextSlot), R(context), U8(4), | 191 /* 144 E> */ B(LdaContextSlot), R(context), U8(4), |
193 B(JumpIfNotHole), U8(11), | 192 B(JumpIfNotHole), U8(11), |
194 B(LdaConstant), U8(3), | 193 B(LdaConstant), U8(3), |
195 B(Star), R(5), | 194 B(Star), R(5), |
196 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), | 195 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
197 B(Ldar), R(4), | 196 B(Ldar), R(4), |
198 B(StaContextSlot), R(context), U8(4), | 197 B(StaContextSlot), R(context), U8(4), |
199 B(PopContext), R(3), | 198 B(PopContext), R(3), |
200 /* 155 S> */ B(LdaSmi), U8(4), | 199 /* 155 S> */ B(LdaSmi), U8(4), |
201 /* 157 E> */ B(Star), R(4), | 200 B(Star), R(4), |
202 B(LdaContextSlot), R(context), U8(4), | 201 /* 157 E> */ B(LdaContextSlot), R(context), U8(4), |
203 B(JumpIfNotHole), U8(11), | 202 B(JumpIfNotHole), U8(11), |
204 B(LdaConstant), U8(4), | 203 B(LdaConstant), U8(4), |
205 B(Star), R(5), | 204 B(Star), R(5), |
206 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), | 205 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
207 B(Ldar), R(4), | 206 B(Ldar), R(4), |
208 B(StaContextSlot), R(context), U8(4), | 207 B(StaContextSlot), R(context), U8(4), |
209 B(LdaUndefined), | 208 B(LdaUndefined), |
210 /* 162 S> */ B(Return), | 209 /* 162 S> */ B(Return), |
211 ] | 210 ] |
212 constant pool: [ | 211 constant pool: [ |
213 InstanceType::FIXED_ARRAY_TYPE, | 212 InstanceType::FIXED_ARRAY_TYPE, |
214 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 213 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
215 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 214 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
216 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 215 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
217 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 216 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
218 ] | 217 ] |
219 handlers: [ | 218 handlers: [ |
220 ] | 219 ] |
221 | 220 |
OLD | NEW |