Description[builtins] De-duplicate specification of array builtin parameter count
Previously, the parameter count for CSA-generated array builtins needed to be
specified both in the TFJ list of builtins as well as in the bootstrapper when
installing each builtin. This patch adds a utility function that returns the
arity of builtins, including CSA-generated array builtins, given the builtin's
name. This function is now used by the bootstrapper and thus removes the need
for the explicit duplication.
R=ishell@chromium.org
BUG=v8:1956
LOG=N
Review-Url: https://codereview.chromium.org/2852833002
Cr-Commit-Position: refs/heads/master@{#45033}
Committed: https://chromium.googlesource.com/v8/v8/+/2c995c8c50a39bb7177ce7e041f76ca97240ed98
Patch Set 1 #
Total comments: 2
Patch Set 2 : Review feedback #Patch Set 3 : Rebase #Patch Set 4 : Make it work #Patch Set 5 : Finally #
Messages
Total messages: 24 (20 generated)
|