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

Issue 10700115: Break Crankshaft into phases. (Closed)

Created:
8 years, 5 months ago by sanjoy
Modified:
8 years, 5 months ago
Reviewers:
danno
CC:
v8-dev, Yang
Visibility:
Public.

Description

Break Crankshaft into phases. Crankshaft now runs by calling CreateGraph on the HGraphBuilder, then calling Optimize and Codegen on the HGraph. BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=12064

Patch Set 1 #

Total comments: 3

Patch Set 2 : Clean up dependencies #

Total comments: 7

Patch Set 3 : #

Total comments: 4

Patch Set 4 : rename deopt_reason to bailout_reason #

Patch Set 5 : Review. #

Total comments: 4

Patch Set 6 : Review. #

Total comments: 1

Patch Set 7 : Fix whitespace damage. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -95 lines) Patch
M src/arm/lithium-codegen-arm.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 1 chunk +13 lines, -5 lines 0 comments Download
M src/hydrogen.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 3 chunks +36 lines, -70 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/lithium.h View 1 2 3 4 5 3 chunks +12 lines, -7 lines 0 comments Download
M src/lithium.cc View 1 2 3 4 5 2 chunks +50 lines, -0 lines 0 comments Download
M src/lithium-allocator.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/lithium-allocator.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/mips/lithium-codegen-mips.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sanjoy
http://codereview.chromium.org/10700115/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/10700115/diff/1/src/hydrogen.cc#newcode3097 src/hydrogen.cc:3097: LChunk* HGraph::Optimize() { Once the representation change CL is ...
8 years, 5 months ago (2012-07-05 13:23:57 UTC) #1
danno
http://codereview.chromium.org/10700115/diff/1/src/hydrogen.h File src/hydrogen.h (right): http://codereview.chromium.org/10700115/diff/1/src/hydrogen.h#newcode248 src/hydrogen.h:248: HGraph(CompilationInfo* info, HGraphBuilder* graph_builder); Don't pass graph_builder here, see ...
8 years, 5 months ago (2012-07-11 08:20:23 UTC) #2
sanjoy
Moved the lithium-specific code into lithium.cc and lithium.h. http://codereview.chromium.org/10700115/diff/7001/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/10700115/diff/7001/src/hydrogen.cc#newcode40 src/hydrogen.cc:40: #if ...
8 years, 5 months ago (2012-07-11 09:55:53 UTC) #3
danno
http://codereview.chromium.org/10700115/diff/7001/src/compiler.cc File src/compiler.cc (right): http://codereview.chromium.org/10700115/diff/7001/src/compiler.cc#newcode315 src/compiler.cc:315: LChunk* chunk = Lithium::CreateChunk(graph, &builder); How about LChunk::NewChunk? http://codereview.chromium.org/10700115/diff/7001/src/compiler.cc#newcode317 ...
8 years, 5 months ago (2012-07-11 10:04:57 UTC) #4
sanjoy
I considered adding the methods to LChunk, but then noticed that it is an architecture-specific ...
8 years, 5 months ago (2012-07-11 11:12:34 UTC) #5
sanjoy
8 years, 5 months ago (2012-07-11 20:51:23 UTC) #6
danno
http://codereview.chromium.org/10700115/diff/3009/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/10700115/diff/3009/src/hydrogen.cc#newcode3087 src/hydrogen.cc:3087: bool HGraph::Optimize(SmartArrayPointer<char>* deopt_reason) { Should be "bailout_reason" http://codereview.chromium.org/10700115/diff/3009/src/lithium.h File ...
8 years, 5 months ago (2012-07-12 08:38:02 UTC) #7
sanjoy
On 2012/07/12 08:38:02, danno wrote: > http://codereview.chromium.org/10700115/diff/3009/src/hydrogen.cc > File src/hydrogen.cc (right): > > http://codereview.chromium.org/10700115/diff/3009/src/hydrogen.cc#newcode3087 > ...
8 years, 5 months ago (2012-07-12 08:50:13 UTC) #8
sanjoy
http://codereview.chromium.org/10700115/diff/3009/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/10700115/diff/3009/src/hydrogen.cc#newcode3087 src/hydrogen.cc:3087: bool HGraph::Optimize(SmartArrayPointer<char>* deopt_reason) { On 2012/07/12 08:38:03, danno wrote: ...
8 years, 5 months ago (2012-07-12 09:06:49 UTC) #9
sanjoy
8 years, 5 months ago (2012-07-12 09:37:49 UTC) #10
danno
https://chromiumcodereview.appspot.com/10700115/diff/6/src/compiler.cc File src/compiler.cc (right): https://chromiumcodereview.appspot.com/10700115/diff/6/src/compiler.cc#newcode51 src/compiler.cc:51: #include "ia32/lithium-ia32.h" Why do you need these? At this ...
8 years, 5 months ago (2012-07-12 11:14:54 UTC) #11
sanjoy
https://chromiumcodereview.appspot.com/10700115/diff/6/src/compiler.cc File src/compiler.cc (right): https://chromiumcodereview.appspot.com/10700115/diff/6/src/compiler.cc#newcode51 src/compiler.cc:51: #include "ia32/lithium-ia32.h" On 2012/07/12 11:14:54, danno wrote: > Why ...
8 years, 5 months ago (2012-07-12 11:34:18 UTC) #12
danno
8 years, 5 months ago (2012-07-12 15:00:08 UTC) #13
LGTM with comment/nit, please address before landing.

https://chromiumcodereview.appspot.com/10700115/diff/11005/src/ia32/lithium-i...
File src/ia32/lithium-ia32.h (left):

https://chromiumcodereview.appspot.com/10700115/diff/11005/src/ia32/lithium-i...
src/ia32/lithium-ia32.h:2330: 
Remove this whitespace change, please.

Powered by Google App Engine
This is Rietveld 408576698