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