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

Issue 1164002: Split the virtual frame into heavy and light versions.... (Closed)

Created:
10 years, 9 months ago by Erik Corry
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Split the virtual frame into heavy and light versions. The heavy version is for x86 and x64. The light version is for ARM and MIPS. Remove the elements_ array from the virtual frame in the light version. More simplifications to come, followed by light register allocation. Committed: http://code.google.com/p/v8/source/detail?r=4272

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1223 lines, -770 lines) Patch
M src/SConscript View 1 3 chunks +7 lines, -1 line 0 comments Download
M src/arm/jump-target-arm.cc View 1 2 chunks +2 lines, -29 lines 0 comments Download
M src/arm/virtual-frame-arm.h View 1 13 chunks +6 lines, -53 lines 0 comments Download
M src/arm/virtual-frame-arm.cc View 1 3 chunks +3 lines, -13 lines 0 comments Download
M src/codegen.cc View 1 1 chunk +0 lines, -32 lines 0 comments Download
M src/ia32/virtual-frame-ia32.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/jump-target.cc View 1 1 chunk +0 lines, -268 lines 0 comments Download
A src/jump-target-heavy.cc View 1 chunk +337 lines, -0 lines 0 comments Download
A src/jump-target-heavy-inl.h View 1 chunk +51 lines, -0 lines 0 comments Download
M src/jump-target-inl.h View 1 2 chunks +5 lines, -13 lines 0 comments Download
A src/jump-target-light.cc View 1 chunk +89 lines, -0 lines 0 comments Download
A src/jump-target-light-inl.h View 1 chunk +42 lines, -0 lines 0 comments Download
M src/virtual-frame.cc View 1 2 chunks +0 lines, -278 lines 0 comments Download
A src/virtual-frame-heavy.cc View 1 chunk +298 lines, -0 lines 0 comments Download
A src/virtual-frame-heavy-inl.h View 1 chunk +131 lines, -0 lines 0 comments Download
M src/virtual-frame-inl.h View 1 2 chunks +7 lines, -76 lines 0 comments Download
A src/virtual-frame-light.cc View 1 chunk +52 lines, -0 lines 0 comments Download
A src/virtual-frame-light-inl.h View 1 chunk +95 lines, -0 lines 0 comments Download
M src/x64/virtual-frame-x64.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M tools/gyp/v8.gyp View 6 chunks +22 lines, -3 lines 0 comments Download
M tools/v8.xcodeproj/project.pbxproj View 10 chunks +20 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base.vcproj View 4 chunks +16 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_arm.vcproj View 4 chunks +20 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_x64.vcproj View 4 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Erik Corry
10 years, 9 months ago (2010-03-22 12:49:24 UTC) #1
Kasper Lund
LGTM (with the appropriate .gyp changes), but it's somewhat hard to review with all the ...
10 years, 9 months ago (2010-03-22 13:12:35 UTC) #2
Kevin Millikin (Chromium)
LGTM as a start. http://codereview.chromium.org/1164002/diff/1/10 File src/SConscript (right): http://codereview.chromium.org/1164002/diff/1/10#newcode131 src/SConscript:131: fast-codegen.cc I think these files ...
10 years, 9 months ago (2010-03-22 13:13:35 UTC) #3
Erik Corry
10 years, 9 months ago (2010-03-25 12:40:52 UTC) #4
http://codereview.chromium.org/1164002/diff/1/16
File src/arm/virtual-frame-arm.cc (right):

http://codereview.chromium.org/1164002/diff/1/16#newcode51
src/arm/virtual-frame-arm.cc:51: // All elements are in memory on ARM (ie,
synced).
On 2010/03/22 13:12:35, Kasper Lund wrote:
> I guess this is called on ARM. Do you want to try to inline it?

Not called.

Removed.

http://codereview.chromium.org/1164002/diff/1/7
File src/jump-target-heavy.cc (right):

http://codereview.chromium.org/1164002/diff/1/7#newcode46
src/jump-target-heavy.cc:46: #ifdef DEBUG
On 2010/03/22 13:12:35, Kasper Lund wrote:
> Maybe move these nasty macros above the first method?

They were only used in 2 places so I got rid of them instead.

Powered by Google App Engine
This is Rietveld 408576698