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: no | 8 wrap: no |
9 test function name: f | 9 test function name: f |
10 | 10 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 if (a) { | 109 if (a) { |
110 a += 1; | 110 a += 1; |
111 } else { | 111 } else { |
112 return 2; | 112 return 2; |
113 } | 113 } |
114 }; | 114 }; |
115 f(); | 115 f(); |
116 " | 116 " |
117 frame size: 2 | 117 frame size: 2 |
118 parameter count: 1 | 118 parameter count: 1 |
119 bytecode array length: 22 | 119 bytecode array length: 23 |
120 bytecodes: [ | 120 bytecodes: [ |
121 /* 10 E> */ B(StackCheck), | 121 /* 10 E> */ B(StackCheck), |
122 /* 25 S> */ B(LdaSmi), U8(1), | 122 /* 25 S> */ B(LdaSmi), U8(1), |
123 B(Star), R(0), | 123 B(Star), R(0), |
124 /* 30 S> */ B(JumpIfToBooleanFalse), U8(12), | 124 /* 30 S> */ B(JumpIfToBooleanFalse), U8(13), |
125 /* 43 S> */ B(AddSmi), U8(1), R(0), | 125 /* 43 S> */ B(AddSmi), U8(1), R(0), U8(1), |
126 B(Mov), R(0), R(1), | 126 B(Mov), R(0), R(1), |
127 B(Star), R(0), | 127 B(Star), R(0), |
128 B(Jump), U8(5), | 128 B(Jump), U8(5), |
129 /* 66 S> */ B(LdaSmi), U8(2), | 129 /* 66 S> */ B(LdaSmi), U8(2), |
130 /* 80 S> */ B(Return), | 130 /* 80 S> */ B(Return), |
131 B(LdaUndefined), | 131 B(LdaUndefined), |
132 /* 80 S> */ B(Return), | 132 /* 80 S> */ B(Return), |
133 ] | 133 ] |
134 constant pool: [ | 134 constant pool: [ |
135 ] | 135 ] |
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 /* 118 S> */ B(LdaSmi), U8(-1), | 774 /* 118 S> */ B(LdaSmi), U8(-1), |
775 /* 133 S> */ B(Return), | 775 /* 133 S> */ B(Return), |
776 B(LdaUndefined), | 776 B(LdaUndefined), |
777 /* 133 S> */ B(Return), | 777 /* 133 S> */ B(Return), |
778 ] | 778 ] |
779 constant pool: [ | 779 constant pool: [ |
780 ] | 780 ] |
781 handlers: [ | 781 handlers: [ |
782 ] | 782 ] |
783 | 783 |
OLD | NEW |