Revert "Split the method isProfitableToInline."
Revert "Split the method isProfitableToInline."

This reverts commit 670f193e4a701d04c25d69a9555dd137742f8655.

It has broken a build bot.

khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift