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

Issue 2752213002: [csa] Add CSA::CallBuiltin and Builtins::CallableFor (Closed)

Created:
3 years, 9 months ago by jgruber
Modified:
3 years, 9 months ago
Reviewers:
Igor Sheludko, caitp, Yang
CC:
v8-reviews_googlegroups.com, Yang, caitp (chromium), gsathya, Benedikt Meurer
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[csa] Add CSA::CallBuiltin and Builtins::CallableFor This is another step towards making calls to builtins more convenient. Builtins::CallableFor is an automatically generated Callable accessor for TFS builtins (whereas previously we had to manually add an accessor to code-factory.{h,cc}). CSA::CallBuiltin is a convenience wrapper around CallStub for TFS builtins. We can begin removing accessors for TFS builtins from CodeFactory in an upcoming commit. BUG=v8:5737 Review-Url: https://codereview.chromium.org/2752213002 Cr-Commit-Position: refs/heads/master@{#43865} Committed: https://chromium.googlesource.com/v8/v8/+/a4c73fa704f5015fc259e3e266f72340e5f0ae1a

Patch Set 1 #

Patch Set 2 : Remove unused variables #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Remove unused variable again #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -38 lines) Patch
M BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins.h View 3 chunks +7 lines, -0 lines 0 comments Download
M src/builtins/builtins.cc View 1 2 2 chunks +18 lines, -0 lines 1 comment Download
M src/builtins/builtins-regexp-gen.cc View 1 2 3 8 chunks +15 lines, -24 lines 0 comments Download
A src/callable.h View 1 1 chunk +33 lines, -0 lines 0 comments Download
M src/code-factory.h View 2 chunks +1 line, -14 lines 0 comments Download
M src/code-stub-assembler.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/v8.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (20 generated)
jgruber
PTAL cc'd folks: FYI
3 years, 9 months ago (2017-03-16 10:44:05 UTC) #8
Yang
awesome cleanup https://codereview.chromium.org/2752213002/diff/20001/src/code-factory.h File src/code-factory.h (right): https://codereview.chromium.org/2752213002/diff/20001/src/code-factory.h#newcode173 src/code-factory.h:173: TailCallMode tail_call_mode, Can we extend this for ...
3 years, 9 months ago (2017-03-16 11:45:38 UTC) #12
Igor Sheludko
Nice! lgtm https://codereview.chromium.org/2752213002/diff/20001/src/builtins/builtins.h File src/builtins/builtins.h (right): https://codereview.chromium.org/2752213002/diff/20001/src/builtins/builtins.h#newcode967 src/builtins/builtins.h:967: static Callable CallableFor(Isolate* isolate, Name name); Forward ...
3 years, 9 months ago (2017-03-16 12:08:12 UTC) #13
Igor Sheludko
Nice! lgtm
3 years, 9 months ago (2017-03-16 12:08:14 UTC) #14
jgruber
https://codereview.chromium.org/2752213002/diff/20001/src/builtins/builtins.h File src/builtins/builtins.h (right): https://codereview.chromium.org/2752213002/diff/20001/src/builtins/builtins.h#newcode967 src/builtins/builtins.h:967: static Callable CallableFor(Isolate* isolate, Name name); On 2017/03/16 12:08:12, ...
3 years, 9 months ago (2017-03-16 12:35:28 UTC) #15
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/2752213002/20001
3 years, 9 months ago (2017-03-16 12:36:31 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/36840)
3 years, 9 months ago (2017-03-16 12:39:22 UTC) #19
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/2752213002/40001
3 years, 9 months ago (2017-03-16 12:53:09 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/14882)
3 years, 9 months ago (2017-03-16 13:02:01 UTC) #24
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/2752213002/60001
3 years, 9 months ago (2017-03-16 13:06:47 UTC) #27
caitp
https://codereview.chromium.org/2752213002/diff/60001/src/builtins/builtins.cc File src/builtins/builtins.cc (right): https://codereview.chromium.org/2752213002/diff/60001/src/builtins/builtins.cc#newcode283 src/builtins/builtins.cc:283: Handle<Code> code(Code::cast(isolate->builtins()->builtins_[name])); \ Is there any way we could ...
3 years, 9 months ago (2017-03-16 13:30:06 UTC) #29
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 14:22:19 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/a4c73fa704f5015fc259e3e266f72340e5f...

Powered by Google App Engine
This is Rietveld 408576698