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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 for (var y = 0; y < 3; ++y) { | 43 for (var y = 0; y < 3; ++y) { |
44 ++sum; | 44 ++sum; |
45 if (x + y == 12) { break outer; } | 45 if (x + y == 12) { break outer; } |
46 } | 46 } |
47 } | 47 } |
48 } | 48 } |
49 return sum; | 49 return sum; |
50 " | 50 " |
51 frame size: 5 | 51 frame size: 5 |
52 parameter count: 1 | 52 parameter count: 1 |
53 bytecode array length: 60 | 53 bytecode array length: 64 |
54 bytecodes: [ | 54 bytecodes: [ |
55 /* 30 E> */ B(StackCheck), | 55 /* 30 E> */ B(StackCheck), |
56 /* 44 S> */ B(LdaZero), | 56 /* 44 S> */ B(LdaZero), |
57 B(Star), R(0), | 57 B(Star), R(0), |
58 /* 71 S> */ B(LdaZero), | 58 /* 71 S> */ B(LdaZero), |
59 B(Star), R(1), | 59 B(Star), R(1), |
60 /* 76 S> */ B(LdaSmi), U8(10), | 60 /* 76 S> */ B(LdaSmi), U8(10), |
61 /* 76 E> */ B(TestLessThan), R(1), | 61 /* 76 E> */ B(TestLessThan), R(1), |
62 B(JumpIfFalse), U8(46), | 62 B(JumpIfFalse), U8(50), |
63 /* 58 E> */ B(StackCheck), | 63 /* 58 E> */ B(StackCheck), |
64 /* 106 S> */ B(LdaZero), | 64 /* 106 S> */ B(LdaZero), |
65 B(Star), R(2), | 65 B(Star), R(2), |
66 /* 111 S> */ B(LdaSmi), U8(3), | 66 /* 111 S> */ B(LdaSmi), U8(3), |
67 /* 111 E> */ B(TestLessThan), R(2), | 67 /* 111 E> */ B(TestLessThan), R(2), |
68 B(JumpIfFalse), U8(29), | 68 B(JumpIfFalse), U8(32), |
69 /* 93 E> */ B(StackCheck), | 69 /* 93 E> */ B(StackCheck), |
70 /* 129 S> */ B(Ldar), R(0), | 70 /* 129 S> */ B(Ldar), R(0), |
71 B(Inc), | 71 B(Inc), U8(3), |
72 B(Star), R(0), | 72 B(Star), R(0), |
73 /* 142 S> */ B(Ldar), R(2), | 73 /* 142 S> */ B(Ldar), R(2), |
74 /* 150 E> */ B(Add), R(1), | 74 /* 150 E> */ B(Add), R(1), U8(4), |
75 B(Star), R(4), | 75 B(Star), R(4), |
76 B(LdaSmi), U8(12), | 76 B(LdaSmi), U8(12), |
77 /* 152 E> */ B(TestEqual), R(4), | 77 /* 152 E> */ B(TestEqual), R(4), |
78 B(JumpIfFalse), U8(4), | 78 B(JumpIfFalse), U8(4), |
79 /* 161 S> */ B(Jump), U8(16), | 79 /* 161 S> */ B(Jump), U8(18), |
80 /* 118 S> */ B(Ldar), R(2), | 80 /* 118 S> */ B(Ldar), R(2), |
81 B(Inc), | 81 B(Inc), U8(2), |
82 B(Star), R(2), | 82 B(Star), R(2), |
83 B(Jump), U8(-31), | 83 B(Jump), U8(-34), |
84 /* 84 S> */ B(Ldar), R(1), | 84 /* 84 S> */ B(Ldar), R(1), |
85 B(Inc), | 85 B(Inc), U8(1), |
86 B(Star), R(1), | 86 B(Star), R(1), |
87 B(Jump), U8(-48), | 87 B(Jump), U8(-52), |
88 /* 188 S> */ B(Ldar), R(0), | 88 /* 188 S> */ B(Ldar), R(0), |
89 /* 200 S> */ B(Return), | 89 /* 200 S> */ B(Return), |
90 ] | 90 ] |
91 constant pool: [ | 91 constant pool: [ |
92 ] | 92 ] |
93 handlers: [ | 93 handlers: [ |
94 ] | 94 ] |
95 | 95 |
96 --- | 96 --- |
97 snippet: " | 97 snippet: " |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 ] | 199 ] |
200 constant pool: [ | 200 constant pool: [ |
201 InstanceType::FIXED_ARRAY_TYPE, | 201 InstanceType::FIXED_ARRAY_TYPE, |
202 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 202 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
203 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 203 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
204 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 204 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
205 ] | 205 ] |
206 handlers: [ | 206 handlers: [ |
207 ] | 207 ] |
208 | 208 |
OLD | NEW |