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 2657533003: [stubs] Add initializing constructor to CSA::Variable (Closed)

Created:
3 years, 11 months ago by jgruber
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Add initializing constructor to CSA::Variable It's a common pattern to create a Variable and immediately initialize it. This adds a new constructor to make that pattern more natural. BUG= Review-Url: https://codereview.chromium.org/2657533003 Cr-Commit-Position: refs/heads/master@{#42649} Committed: https://chromium.googlesource.com/v8/v8/+/a4183e59a7db2dc241070c8f02d6cb6f6545b23d

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove explicit #

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -131 lines) Patch
M src/builtins/builtins-regexp.cc View 7 chunks +15 lines, -27 lines 0 comments Download
M src/code-stub-assembler.cc View 37 chunks +71 lines, -104 lines 0 comments Download
M src/compiler/code-assembler.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/code-assembler.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
jgruber
Hi Igor, please take a look - this adds a convenience ctor to CSA::Variable.
3 years, 11 months ago (2017-01-24 15:05:47 UTC) #6
Igor Sheludko
lgtm https://codereview.chromium.org/2657533003/diff/1/src/compiler/code-assembler.cc File src/compiler/code-assembler.cc (right): https://codereview.chromium.org/2657533003/diff/1/src/compiler/code-assembler.cc#newcode706 src/compiler/code-assembler.cc:706: : impl_(new (assembler->zone()) Impl(rep)), state_(assembler->state()) { I think ...
3 years, 11 months ago (2017-01-24 15:10:31 UTC) #9
jgruber
+mstarzinger for compiler/, PTAL.
3 years, 11 months ago (2017-01-24 15:10:59 UTC) #11
jgruber
https://codereview.chromium.org/2657533003/diff/1/src/compiler/code-assembler.cc File src/compiler/code-assembler.cc (right): https://codereview.chromium.org/2657533003/diff/1/src/compiler/code-assembler.cc#newcode706 src/compiler/code-assembler.cc:706: : impl_(new (assembler->zone()) Impl(rep)), state_(assembler->state()) { On 2017/01/24 15:10:31, ...
3 years, 11 months ago (2017-01-24 15:16:26 UTC) #14
Michael Starzinger
LGTM on "compiler" pieces.
3 years, 11 months ago (2017-01-25 09:22:10 UTC) #17
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/2657533003/40001
3 years, 11 months ago (2017-01-25 09:41:41 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 10:00:44 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/a4183e59a7db2dc241070c8f02d6cb6f654...

Powered by Google App Engine
This is Rietveld 408576698