Creation of duplicate heap and frame in then-branch of If statement
avoided.