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

Issue 159695: Basic infrastructure for fast two-pass compilation. A CFG is... (Closed)

Created:
11 years, 4 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
antonm, Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Basic infrastructure for fast two-pass compilation. A CFG is generated in one-pass from the source AST, code is generated from the CFG. Enabled by the flag --multipass and disabled by default. Rudimentary and currently only supports literal expressions and return statements. There are some other known limitations (e.g., missing support for tracing). Committed: http://code.google.com/p/v8/source/detail?r=2596

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1165 lines, -19 lines) Patch
M src/SConscript View 1 3 chunks +19 lines, -18 lines 0 comments Download
A src/arm/cfg-arm.cc View 1 chunk +97 lines, -0 lines 0 comments Download
A src/cfg.h View 1 chunk +311 lines, -0 lines 1 comment Download
A src/cfg.cc View 1 1 chunk +462 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 chunks +16 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
A src/ia32/cfg-ia32.cc View 1 chunk +109 lines, -0 lines 0 comments Download
A src/x64/cfg-x64.cc View 1 chunk +119 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 5 chunks +6 lines, -1 line 0 comments Download
M tools/visual_studio/v8_base.vcproj View 2 1 chunk +12 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_arm.vcproj View 2 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Chromium)
11 years, 4 months ago (2009-07-31 07:17:52 UTC) #1
Kasper Lund
Except for the addition of the new files, this LGTM. http://codereview.chromium.org/159695/diff/1/6 File src/SConscript (right): http://codereview.chromium.org/159695/diff/1/6#newcode39 ...
11 years, 4 months ago (2009-07-31 09:49:25 UTC) #2
Kevin Millikin (Chromium)
Changed in the gyp and vcproj files. You may want to do a sanity check ...
11 years, 4 months ago (2009-07-31 10:07:59 UTC) #3
antonm
11 years, 4 months ago (2009-07-31 13:30:47 UTC) #4
Just an editorial

http://codereview.chromium.org/159695/diff/31/1021
File src/cfg.h (right):

http://codereview.chromium.org/159695/diff/31/1021#newcode209
Line 209: // A CFG is a consists of a linked structure of nodes.  It has a
single
looks like you forgot to remove abandoned phrase.

Powered by Google App Engine
This is Rietveld 408576698