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

Issue 21356002: Improve instruction creating/adding shorthand in HGraphBuilder (Closed)

Created:
7 years, 4 months ago by danno
Modified:
7 years, 4 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

Improve instruction creating/adding shorthand in HGraphBuilder Add multi-argument templates for New, NewUncasted, Add and AddUncasted that call boilerplate HInstruction::New methods rather than the constructor directly. This allows for automatic passing of the zone and context for instructions that need them. R=verwaest@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=15990

Patch Set 1 #

Total comments: 10

Patch Set 2 : Review feedback #

Patch Set 3 : Review feedback and merge with ToT #

Total comments: 8

Patch Set 4 : Whitespace fixes #

Patch Set 5 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1421 lines, -1014 lines) Patch
M src/code-stubs-hydrogen.cc View 1 2 19 chunks +59 lines, -73 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 14 chunks +217 lines, -53 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 159 chunks +291 lines, -350 lines 0 comments Download
M src/hydrogen-bce.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M src/hydrogen-bch.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 95 chunks +793 lines, -488 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 17 chunks +49 lines, -40 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Toon Verwaest
Mostly nits. I'd prefer to have AddAndCast be renamed as the default Add behaviour, and ...
7 years, 4 months ago (2013-07-31 12:56:36 UTC) #1
danno
Please take another look https://chromiumcodereview.appspot.com/21356002/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://chromiumcodereview.appspot.com/21356002/diff/1/src/hydrogen-instructions.cc#newcode4316 src/hydrogen-instructions.cc:4316: HConstant::New(graph->zone(), NULL, On 2013/07/31 12:56:37, ...
7 years, 4 months ago (2013-07-31 14:10:09 UTC) #2
Toon Verwaest
Added comments. https://chromiumcodereview.appspot.com/21356002/diff/18001/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/21356002/diff/18001/src/hydrogen.cc#newcode612 src/hydrogen.cc:612: HConstant* constant = HConstant::New(zone(), NULL, value); NULL ...
7 years, 4 months ago (2013-07-31 14:32:53 UTC) #3
danno
please take another look https://codereview.chromium.org/21356002/diff/18001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/21356002/diff/18001/src/hydrogen.cc#newcode612 src/hydrogen.cc:612: HConstant* constant = HConstant::New(zone(), NULL, ...
7 years, 4 months ago (2013-07-31 14:49:21 UTC) #4
Toon Verwaest
lgtm
7 years, 4 months ago (2013-07-31 14:53:50 UTC) #5
danno
7 years, 4 months ago (2013-07-31 14:58:46 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r15990 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698