DescriptionOptimize function and interface object length computation in bindings generator
Introduce new GetFunctionLength() function that efficiently compute the length
of a function (i.e. its number of mandatory parameters).
We now call GetFunctionLength() instead of GenerateFunctionParametersCheck()
whenever we care only interested in the function length and not the actual
expression for checking the parameters. This is much more efficient as
GenerateFunctionParametersCheck() does a lot more processing than we need in
this case.
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149196
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|