@@ -48,6 +48,17 @@ function inlined() {
4848 _d12[0] = _a10[0] * _b11[0];
4949 _d12[1] = _a10[1] * _b11[1];
5050 }
51+ for (let i = 0 ; i < 100 ; i ++ ) {
52+ const _a13 = foo2;
53+ const _b14 = bar2;
54+ const _d15 = baz2;
55+ _d15[0] = _a13[0] * _b14[0];
56+ _d15[1] = _a13[1] * _b14[1];
57+ const _a16 = baz2;
58+ const _b17 = bar2;
59+ _a16[0] = _a16[0] + _b17[0];
60+ _a16[1] = _a16[1] + _b17[1];
61+ }
5162 return foo2 ;
5263}
5364function notInlined() {
@@ -60,6 +71,10 @@ function notInlined() {
6071 add2(foo2 , baz2 );
6172 crossProduct2(foo2 , bar2 , baz2 );
6273 }
74+ for (let i = 0 ; i < 100 ; i ++ ) {
75+ crossProduct2(foo2 , bar2 , baz2 );
76+ add2(baz2 , bar2 );
77+ }
6378 return foo2 ;
6479}
6580export {
@@ -115,6 +130,17 @@ function inlined() {
115130 _d12[0] = _a10[0] * _b11[0];
116131 _d12[1] = _a10[1] * _b11[1];
117132 }
133+ for (var i = 0 ; i < 100 ; i ++ ) {
134+ const _a13 = foo;
135+ const _b14 = bar;
136+ const _d15 = baz;
137+ _d15[0] = _a13[0] * _b14[0];
138+ _d15[1] = _a13[1] * _b14[1];
139+ const _a16 = baz;
140+ const _b17 = bar;
141+ _a16[0] = _a16[0] + _b17[0];
142+ _a16[1] = _a16[1] + _b17[1];
143+ }
118144 return foo ;
119145}
120146function notInlined() {
@@ -127,6 +153,10 @@ function notInlined() {
127153 add2(foo , baz );
128154 crossProduct2(foo , bar );
129155 }
156+ for (var i = 0 ; i < 100 ; i ++ ) {
157+ crossProduct2(foo , bar );
158+ add2(baz , bar );
159+ }
130160 return foo ;
131161}
132162
@@ -174,6 +204,17 @@ function inlined() {
174204 _d12[0] = _a10[0] * _b11[0];
175205 _d12[1] = _a10[1] * _b11[1];
176206 }
207+ for (let i = 0 ; i < 100 ; i ++ ) {
208+ const _a13 = foo2;
209+ const _b14 = bar2;
210+ const _d15 = baz2;
211+ _d15[0] = _a13[0] * _b14[0];
212+ _d15[1] = _a13[1] * _b14[1];
213+ const _a16 = baz2;
214+ const _b17 = bar2;
215+ _a16[0] = _a16[0] + _b17[0];
216+ _a16[1] = _a16[1] + _b17[1];
217+ }
177218 return foo2 ;
178219}
179220function notInlined() {
@@ -186,6 +227,10 @@ function notInlined() {
186227 add2(foo2 , baz2 );
187228 crossProduct2(foo2 , bar2 );
188229 }
230+ for (let i = 0 ; i < 100 ; i ++ ) {
231+ crossProduct2(foo2 , bar2 );
232+ add2(baz2 , bar2 );
233+ }
189234 return foo2 ;
190235}
191236export {
0 commit comments