Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Issue 2852833002: [builtins] De-duplicate specification of array builtin parameter count (Closed)

Created:
3 years, 7 months ago by danno
Modified:
3 years, 7 months ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -37 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 6 chunks +20 lines, -37 lines 0 comments Download
M src/builtins/builtins.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (20 generated)
danno
ptal
3 years, 7 months ago (2017-04-29 07:28:34 UTC) #1
Igor Sheludko
lgtm https://codereview.chromium.org/2852833002/diff/1/src/builtins/builtins.cc File src/builtins/builtins.cc (right): https://codereview.chromium.org/2852833002/diff/1/src/builtins/builtins.cc#newcode119 src/builtins/builtins.cc:119: int Builtins::GetBuiltinParameterCount(Isolate* isolate, Name name) { The |isolate| ...
3 years, 7 months ago (2017-05-02 09:31:16 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2852833002/80001
3 years, 7 months ago (2017-05-02 13:43:53 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 13:45:19 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/2c995c8c50a39bb7177ce7e041f76ca9724...

Powered by Google App Engine
This is Rietveld 408576698