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

Issue 6602031: Translate loops without using subgraphs. (Closed)

Created:
9 years, 9 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

Translate loops without using subgraphs. Build all loop graphs without using class HSubgraph. This also eliminates a silly goto for the update expression of a for loop. Support for peeling loops is removed because it's currently untested. Committed: http://code.google.com/p/v8/source/detail?r=7017

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -176 lines) Patch
M src/flag-definitions.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/hydrogen.h View 3 chunks +4 lines, -11 lines 0 comments Download
M src/hydrogen.cc View 4 chunks +103 lines, -164 lines 4 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
9 years, 9 months ago (2011-03-01 11:00:45 UTC) #1
fschneider
LGTM! http://codereview.chromium.org/6602031/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/6602031/diff/1/src/hydrogen.cc#newcode512 src/hydrogen.cc:512: HBasicBlock* HGraphBuilder::CreateEndless(IterationStatement* statement, Maybe it's possible to unify ...
9 years, 9 months ago (2011-03-02 10:45:35 UTC) #2
Kevin Millikin (Chromium)
9 years, 9 months ago (2011-03-02 11:08:42 UTC) #3
http://codereview.chromium.org/6602031/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):

http://codereview.chromium.org/6602031/diff/1/src/hydrogen.cc#newcode512
src/hydrogen.cc:512: HBasicBlock*
HGraphBuilder::CreateEndless(IterationStatement* statement,
On 2011/03/02 10:45:35, fschneider wrote:
> Maybe it's possible to unify CreateEndless/CreateDoWhile/CreateWhile.

Great idea, I'll do it as a separate change.

http://codereview.chromium.org/6602031/diff/1/src/hydrogen.cc#newcode2734
src/hydrogen.cc:2734: // TODO(fschneider): Implement peeling for endless loops
as well.
On 2011/03/02 10:45:35, fschneider wrote:
> This comment can go away now.

Yeah, you're right.

Powered by Google App Engine
This is Rietveld 408576698