mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
We had a fixed limit of 4 added parameters for merged functions. But if a function is big, it makes sense to allow more parameters to be added. Now, derived the maximum number of parameters from the function size. This increases the chances that big functions (which likely require more parameters) are merged.