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 1192553002: [turbofan] Fix life time and use of the Typer. (Closed)

Created:
5 years, 6 months ago by Benedikt Meurer
Modified:
5 years, 6 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Fix life time and use of the Typer. Currently the Typer is installed on the Graph, no matter if we actually use the types or not (read: even in the generic pipeline). Also the Typer tries hard to eagerly type nodes during graph building, which takes time, just to remove those types later again, and retype everything from scratch. Plus this is inconsistent, since it only applies to the outermost graph, not the inlined graphs (which are eagerly typed once the nodes are copied). So in summary, what's currently implemented is neither useful nor well defined, so for now we stick to the full typing approach until a proper design for eager typing is available that will actually benefit us. R=rossberg@chromium.org,mstarzinger@chromium.org,jarin@chromium.org Committed: https://crrev.com/a4f060278f18c38bb77d5cb41c72d7f6d3f270f6 Cr-Commit-Position: refs/heads/master@{#29086}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address Michis comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -33 lines) Patch
M src/compiler/pipeline.cc View 1 12 chunks +13 lines, -12 lines 0 comments Download
M src/compiler/typer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 chunk +4 lines, -21 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Benedikt Meurer
Hey Michi, Andreas, Jaro, As discussed offline. We'll use this as an intermediate step to ...
5 years, 6 months ago (2015-06-17 11:21:20 UTC) #1
Michael Starzinger
LGTM, only nits. https://codereview.chromium.org/1192553002/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1192553002/diff/1/src/compiler/pipeline.cc#newcode288 src/compiler/pipeline.cc:288: // TODO(dcarney): make this into a ...
5 years, 6 months ago (2015-06-17 11:32:23 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/1192553002/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1192553002/diff/1/src/compiler/pipeline.cc#newcode288 src/compiler/pipeline.cc:288: // TODO(dcarney): make this into a ZoneObject. On 2015/06/17 ...
5 years, 6 months ago (2015-06-17 11:38:13 UTC) #3
Jarin
lgtm
5 years, 6 months ago (2015-06-17 11:38:20 UTC) #4
rossberg
lgtm
5 years, 6 months ago (2015-06-17 11:40:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192553002/20001
5 years, 6 months ago (2015-06-17 11:40:53 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 6 months ago (2015-06-17 12:25:06 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-17 12:25:12 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a4f060278f18c38bb77d5cb41c72d7f6d3f270f6
Cr-Commit-Position: refs/heads/master@{#29086}

Powered by Google App Engine
This is Rietveld 408576698