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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 for (var y = 0; y < 3; ++y) { | 45 for (var y = 0; y < 3; ++y) { |
46 ++sum; | 46 ++sum; |
47 if (x + y == 12) { break outer; } | 47 if (x + y == 12) { break outer; } |
48 } | 48 } |
49 } | 49 } |
50 } | 50 } |
51 return sum; | 51 return sum; |
52 " | 52 " |
53 frame size: 5 | 53 frame size: 5 |
54 parameter count: 1 | 54 parameter count: 1 |
55 bytecode array length: 75 | 55 bytecode array length: 72 |
56 bytecodes: [ | 56 bytecodes: [ |
57 B(StackCheck), | 57 B(StackCheck), |
58 B(LdaZero), | 58 B(LdaZero), |
59 B(Star), R(0), | 59 B(Star), R(0), |
60 B(LdaZero), | 60 B(LdaZero), |
61 B(Star), R(1), | 61 B(Star), R(1), |
62 B(Ldar), R(1), | 62 B(Ldar), R(1), |
63 B(Star), R(3), | 63 B(Star), R(3), |
64 B(LdaSmi), U8(10), | 64 B(LdaSmi), U8(10), |
65 B(TestLessThan), R(3), | 65 B(TestLessThan), R(3), |
66 B(JumpIfFalse), U8(57), | 66 B(JumpIfFalse), U8(54), |
67 B(StackCheck), | 67 B(StackCheck), |
68 B(LdaZero), | 68 B(LdaZero), |
69 B(Star), R(2), | 69 B(Star), R(2), |
70 B(Ldar), R(2), | 70 B(Ldar), R(2), |
71 B(Star), R(3), | 71 B(Star), R(3), |
72 B(LdaSmi), U8(3), | 72 B(LdaSmi), U8(3), |
73 B(TestLessThan), R(3), | 73 B(TestLessThan), R(3), |
74 B(JumpIfFalse), U8(35), | 74 B(JumpIfFalse), U8(33), |
75 B(StackCheck), | 75 B(StackCheck), |
76 B(Ldar), R(0), | 76 B(Ldar), R(0), |
77 B(ToNumber), | |
78 B(Inc), | 77 B(Inc), |
79 B(Star), R(0), | 78 B(Star), R(0), |
80 B(Ldar), R(1), | 79 B(Ldar), R(1), |
81 B(Star), R(3), | 80 B(Star), R(3), |
82 B(Ldar), R(2), | 81 B(Ldar), R(2), |
83 B(Add), R(3), | 82 B(Add), R(3), |
84 B(Star), R(4), | 83 B(Star), R(4), |
85 B(LdaSmi), U8(12), | 84 B(LdaSmi), U8(12), |
86 B(TestEqual), R(4), | 85 B(TestEqual), R(4), |
87 B(JumpIfFalse), U8(4), | 86 B(JumpIfFalse), U8(4), |
88 B(Jump), U8(18), | 87 B(Jump), U8(16), |
89 B(Ldar), R(2), | 88 B(Ldar), R(2), |
90 B(ToNumber), | |
91 B(Inc), | 89 B(Inc), |
92 B(Star), R(2), | 90 B(Star), R(2), |
93 B(Jump), U8(-41), | 91 B(Jump), U8(-39), |
94 B(Ldar), R(1), | 92 B(Ldar), R(1), |
95 B(ToNumber), | |
96 B(Inc), | 93 B(Inc), |
97 B(Star), R(1), | 94 B(Star), R(1), |
98 B(Jump), U8(-63), | 95 B(Jump), U8(-60), |
99 B(Ldar), R(0), | 96 B(Ldar), R(0), |
100 B(Return), | 97 B(Return), |
101 ] | 98 ] |
102 constant pool: [ | 99 constant pool: [ |
103 ] | 100 ] |
104 handlers: [ | 101 handlers: [ |
105 ] | 102 ] |
106 | 103 |
107 --- | 104 --- |
108 snippet: " | 105 snippet: " |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 constant pool: [ | 220 constant pool: [ |
224 InstanceType::FIXED_ARRAY_TYPE, | 221 InstanceType::FIXED_ARRAY_TYPE, |
225 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 222 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
226 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 223 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
227 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 224 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
228 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 225 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
229 ] | 226 ] |
230 handlers: [ | 227 handlers: [ |
231 ] | 228 ] |
232 | 229 |
OLD | NEW |