We should introduce a new GetFunctionLength() function that efficiently computes the length of a function (i.e. its number of mandatory parameters). We currently call GenerateFunctionParametersCheck() for that purpose but this is very inefficient because it does a lot more processing than we need in this case, in order to generate the expression to check the parameters.
Created attachment 199816 [details] Patch
Comment on attachment 199816 [details] Patch Thanks for cleaning up the mess we introduced!
Comment on attachment 199816 [details] Patch Clearing flags on attachment: 199816 Committed r149177: <http://trac.webkit.org/changeset/149177>
All reviewed patches have been landed. Closing bug.