Allowing functions with conditionals to be inlined