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

Issue 8344045: Fast elements conversions in crankshaft using generated code. (Closed)

Created:
9 years, 2 months ago by Yang
Modified:
9 years, 2 months ago
Reviewers:
danno, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Fast elements conversions in crankshaft using generated code.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -43 lines) Patch
M src/arm/code-stubs-arm.cc View 5 chunks +26 lines, -4 lines 0 comments Download
M src/arm/ic-arm.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/code-stubs.h View 3 chunks +17 lines, -5 lines 1 comment Download
M src/code-stubs.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 5 chunks +30 lines, -5 lines 0 comments Download
M src/ia32/ic-ia32.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M src/serialize.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 4 chunks +21 lines, -3 lines 0 comments Download
M src/x64/ic-x64.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M test/mjsunit/elements-transition.js View 1 chunk +5 lines, -0 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Yang
Please take a look.
9 years, 2 months ago (2011-10-19 15:52:14 UTC) #1
Jakob Kummerow
High-level comment: I don't think overloading the functionality of the GenerateFoo() methods to serve two ...
9 years, 2 months ago (2011-10-19 18:36:31 UTC) #2
danno
My top level feedback is the similar to Jakob's. I would prefer to see clearer ...
9 years, 2 months ago (2011-10-20 06:12:05 UTC) #3
Yang
9 years, 2 months ago (2011-10-20 08:38:34 UTC) #4
On 2011/10/20 06:12:05, danno wrote:
> My top level feedback is the similar to Jakob's. 
> 
> I would prefer to see clearer separation of responsibility the the generate
> code. The core element transition code should be generated separately (and
> packaged separately in the C++ source) from the action that is taken after the
> transition. 
> 
> This separation was not clear before this CL (the core Generate method did the
> tail call on failure, but didn't do the actual store), and I think it would be
> good to clear it up as part of the refactor: one core routine that generates
the
> code for the transition and only the transition, and two 
>  callers of that code that add the action that needs to be take in the success
> and "failure" (GC) cases.

Replaced by http://codereview.chromium.org/8355035/.

Powered by Google App Engine
This is Rietveld 408576698