@@ -209,7 +209,6 @@ function safelyCallComponentWillUnmount(current, instance) { |
209 | 209 | } |
210 | 210 | } |
211 | 211 |
|
212 | | -/** @noinline */ |
213 | 212 | function safelyDetachRef(current: Fiber) { |
214 | 213 | const ref = current.ref; |
215 | 214 | if (ref !== null) { |
@@ -273,7 +272,6 @@ export function safelyCallDestroy(current: Fiber, destroy: () => void) { |
273 | 272 | } |
274 | 273 | } |
275 | 274 |
|
276 | | -/** @noinline */ |
277 | 275 | function commitHookEffectListUnmount(flags: HookFlags, finishedWork: Fiber) { |
278 | 276 | const updateQueue: FunctionComponentUpdateQueue | null = (finishedWork.updateQueue: any); |
279 | 277 | const lastEffect = updateQueue !== null ? updateQueue.lastEffect : null; |
@@ -294,7 +292,6 @@ function commitHookEffectListUnmount(flags: HookFlags, finishedWork: Fiber) { |
294 | 292 | } |
295 | 293 | } |
296 | 294 |
|
297 | | -/** @noinline */ |
298 | 295 | function commitHookEffectListMount(flags: HookFlags, finishedWork: Fiber) { |
299 | 296 | const updateQueue: FunctionComponentUpdateQueue | null = (finishedWork.updateQueue: any); |
300 | 297 | const lastEffect = updateQueue !== null ? updateQueue.lastEffect : null; |
@@ -506,7 +503,6 @@ function iterativelyCommitBeforeMutationEffects_complete() { |
506 | 503 | } |
507 | 504 | } |
508 | 505 |
|
509 | | -/** @noinline */ |
510 | 506 | function commitBeforeMutationEffectsOnFiber(finishedWork: Fiber) { |
511 | 507 | const current = finishedWork.alternate; |
512 | 508 | const flags = finishedWork.flags; |
@@ -621,7 +617,6 @@ function commitBeforeMutationEffectsOnFiber(finishedWork: Fiber) { |
621 | 617 | } |
622 | 618 | } |
623 | 619 |
|
624 | | -/** @noinline */ |
625 | 620 | function commitBeforeMutationEffectsDeletions(deletions: Array<Fiber>) { |
626 | 621 | for (let i = 0; i < deletions.length; i++) { |
627 | 622 | const fiber = deletions[i]; |
@@ -763,7 +758,6 @@ function iterativelyCommitMutationEffects_complete( |
763 | 758 | } |
764 | 759 | } |
765 | 760 |
|
766 | | -/** @noinline */ |
767 | 761 | function commitMutationEffectsOnFiber( |
768 | 762 | fiber: Fiber, |
769 | 763 | root: FiberRoot, |
@@ -834,7 +828,6 @@ function commitMutationEffectsOnFiber( |
834 | 828 | } |
835 | 829 | } |
836 | 830 |
|
837 | | -/** @noinline */ |
838 | 831 | function commitMutationEffectsDeletions( |
839 | 832 | deletions: Array<Fiber>, |
840 | 833 | root: FiberRoot, |
@@ -1320,7 +1313,6 @@ function commitLayoutEffectsOnFiber( |
1320 | 1313 | } |
1321 | 1314 | } |
1322 | 1315 |
|
1323 | | -/** @noinline */ |
1324 | 1316 | function commitLayoutEffectsForProfiler( |
1325 | 1317 | finishedWork: Fiber, |
1326 | 1318 | finishedRoot: FiberRoot, |
@@ -1393,7 +1385,6 @@ function commitLayoutEffectsForProfiler( |
1393 | 1385 | } |
1394 | 1386 | } |
1395 | 1387 |
|
1396 | | -/** @noinline */ |
1397 | 1388 | function commitLayoutEffectsForClassComponent(finishedWork: Fiber) { |
1398 | 1389 | const instance = finishedWork.stateNode; |
1399 | 1390 | const current = finishedWork.alternate; |
@@ -1542,7 +1533,6 @@ function commitLayoutEffectsForClassComponent(finishedWork: Fiber) { |
1542 | 1533 | } |
1543 | 1534 | } |
1544 | 1535 |
|
1545 | | -/** @noinline */ |
1546 | 1536 | function commitLayoutEffectsForHostRoot(finishedWork: Fiber) { |
1547 | 1537 | // TODO: I think this is now always non-null by the time it reaches the |
1548 | 1538 | // commit phase. Consider removing the type check. |
@@ -1563,7 +1553,6 @@ function commitLayoutEffectsForHostRoot(finishedWork: Fiber) { |
1563 | 1553 | } |
1564 | 1554 | } |
1565 | 1555 |
|
1566 | | -/** @noinline */ |
1567 | 1556 | function commitLayoutEffectsForHostComponent(finishedWork: Fiber) { |
1568 | 1557 | const instance: Instance = finishedWork.stateNode; |
1569 | 1558 | const current = finishedWork.alternate; |
@@ -1579,7 +1568,6 @@ function commitLayoutEffectsForHostComponent(finishedWork: Fiber) { |
1579 | 1568 | } |
1580 | 1569 | } |
1581 | 1570 |
|
1582 | | -/** @noinline */ |
1583 | 1571 | function hideOrUnhideAllChildren(finishedWork, isHidden) { |
1584 | 1572 | if (supportsMutation) { |
1585 | 1573 | // We only have the top Fiber that was inserted but we need to recurse down its |
@@ -2866,7 +2854,6 @@ function commitSuspenseComponent(finishedWork: Fiber) { |
2866 | 2854 | } |
2867 | 2855 | } |
2868 | 2856 |
|
2869 | | -/** @noinline */ |
2870 | 2857 | function commitSuspenseHydrationCallbacks( |
2871 | 2858 | finishedRoot: FiberRoot, |
2872 | 2859 | finishedWork: Fiber, |
|