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

Issue 1872483002: [compiler] Make OptimizedCompileJob agnostic from backend. (Closed)

Created:
4 years, 8 months ago by Michael Starzinger
Modified:
4 years, 8 months ago
Reviewers:
Benedikt Meurer, ahaas
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Make OptimizedCompileJob agnostic from backend. This refactors the OptimizedCompileJob class to be agnostic from the actual underlying compiler. Instead it represents a base class for all compilation jobs. The implementation is provided by the backend by just overriding the phase methods. Also note that this contains the semantics change of not falling back to Crankshaft when TurboFan optimization fails. This fallback is no longer needed and will not be supported going forward. R=bmeurer@chromium.org Committed: https://crrev.com/dea67cf0e3ed55e54c85ab6481b0f77a946dea6a Cr-Commit-Position: refs/heads/master@{#35377}

Patch Set 1 #

Patch Set 2 : Minor fix. #

Patch Set 3 : Reduce includes. #

Patch Set 4 : Fix stats. #

Patch Set 5 : Fix handle deref. #

Total comments: 2

Patch Set 6 : Addressed comments. #

Patch Set 7 : Skip one benchmark. #

Total comments: 1

Patch Set 8 : Prevent endless recompile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -270 lines) Patch
M src/bailout-reason.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler.h View 1 2 3 4 5 3 chunks +22 lines, -30 lines 0 comments Download
M src/compiler.cc View 1 2 3 12 chunks +72 lines, -235 lines 0 comments Download
M src/compiler/pipeline.h View 3 chunks +5 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 7 4 chunks +69 lines, -4 lines 0 comments Download
M src/crankshaft/hydrogen.h View 1 chunk +14 lines, -0 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 1 chunk +147 lines, -0 lines 0 comments Download
M src/crankshaft/lithium-codegen.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
Michael Starzinger
PTAL. Note that I would like to do any renaming of existing classes and methods ...
4 years, 8 months ago (2016-04-07 16:38:59 UTC) #3
Benedikt Meurer
This is awesome! LGTM
4 years, 8 months ago (2016-04-08 04:21:41 UTC) #5
ahaas
https://codereview.chromium.org/1872483002/diff/80001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1872483002/diff/80001/src/compiler.h#newcode571 src/compiler.h:571: // A base class for compilation jobs intended to ...
4 years, 8 months ago (2016-04-08 12:24:39 UTC) #7
Michael Starzinger
https://codereview.chromium.org/1872483002/diff/80001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1872483002/diff/80001/src/compiler.h#newcode571 src/compiler.h:571: // A base class for compilation jobs intended to ...
4 years, 8 months ago (2016-04-08 16:44:57 UTC) #9
Michael Starzinger
Benedikt: Please confirm that it is OK to land with skipping mandreel. https://codereview.chromium.org/1872483002/diff/140001/test/benchmarks/benchmarks.status File test/benchmarks/benchmarks.status ...
4 years, 8 months ago (2016-04-08 16:54:01 UTC) #10
Benedikt Meurer
I'm fine with that. Jaro was already talking about a possible real fix for the ...
4 years, 8 months ago (2016-04-08 17:40:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872483002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872483002/160001
4 years, 8 months ago (2016-04-11 09:44:13 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 8 months ago (2016-04-11 10:01:16 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 10:02:34 UTC) #18
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/dea67cf0e3ed55e54c85ab6481b0f77a946dea6a
Cr-Commit-Position: refs/heads/master@{#35377}

Powered by Google App Engine
This is Rietveld 408576698