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

Issue 553134: Add a pass for the fast compiler to label expression nodes.... (Closed)

Created:
10 years, 11 months ago by fschneider
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add a pass for the fast compiler to label expression nodes. This change adds a post-order numbering to AST nodes that are relevant for the fast code generator. It is only invoked together with the fast compiler. Also changed the ast printer to print the numbering for testing purposes if it is present. Committed: http://code.google.com/p/v8/source/detail?r=3738

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 14

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -21 lines) Patch
M src/SConscript View 1 chunk +1 line, -0 lines 0 comments Download
M src/ast.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -0 lines 0 comments Download
A src/data-flow.h View 5 6 7 8 9 1 chunk +63 lines, -0 lines 0 comments Download
A src/data-flow.cc View 5 6 7 8 1 chunk +264 lines, -0 lines 0 comments Download
M src/prettyprinter.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/prettyprinter.cc View 9 chunks +35 lines, -20 lines 0 comments Download
M tools/gyp/v8.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_arm.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_x64.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fschneider
10 years, 11 months ago (2010-01-28 14:17:18 UTC) #1
Kevin Millikin (Chromium)
I think you should rename PostOrderNumbering(literal) ==> AstLabeler() and Process() ==> Label(literal). There are three ...
10 years, 11 months ago (2010-01-28 15:46:58 UTC) #2
fschneider
Addresses the comments and added the visual studio files. http://codereview.chromium.org/553134/diff/8001/8008 File src/data-flow.cc (right): http://codereview.chromium.org/553134/diff/8001/8008#newcode32 src/data-flow.cc:32: ...
10 years, 11 months ago (2010-01-28 16:42:05 UTC) #3
antonm
drive-by stylistic nit http://codereview.chromium.org/553134/diff/2023/1023 File src/data-flow.h (right): http://codereview.chromium.org/553134/diff/2023/1023#newcode41 src/data-flow.h:41: explicit AstLabeler() : next_number_(0) {} nit: ...
10 years, 11 months ago (2010-01-28 17:31:49 UTC) #4
fschneider
10 years, 11 months ago (2010-01-29 09:42:31 UTC) #5
http://codereview.chromium.org/553134/diff/2023/1023
File src/data-flow.h (right):

http://codereview.chromium.org/553134/diff/2023/1023#newcode41
src/data-flow.h:41: explicit AstLabeler() : next_number_(0) {}
On 2010/01/28 17:31:50, antonm wrote:
> nit: no need in explicit

Done.

Powered by Google App Engine
This is Rietveld 408576698