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

Issue 660104: Inlining a few virtual frame functions.... (Closed)

Created:
10 years, 10 months ago by fschneider
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Inlining a few virtual frame functions. Introducing a virtual-frame-inl.h file containing some platform-independent virtual frame function which are small enough to be inlined. Removed unnecessary #include of virtual-frame.h from register-allocator-inl.h and added the necessary explicit includes in a number of files. Committed: http://code.google.com/p/v8/source/detail?r=3962

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -108 lines) Patch
M src/arm/codegen-arm.h View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/codegen-arm.cc View 2 chunks +1 line, -4 lines 0 comments Download
M src/arm/fast-codegen-arm.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/jump-target-arm.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/virtual-frame-arm.h View 2 5 chunks +7 lines, -7 lines 0 comments Download
M src/arm/virtual-frame-arm.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/codegen.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/codegen-inl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/full-codegen.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/codegen-ia32.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/jump-target-ia32.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/register-allocator-ia32.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/virtual-frame-ia32.h View 1 2 5 chunks +7 lines, -9 lines 0 comments Download
M src/ia32/virtual-frame-ia32.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/jump-target.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/jump-target-inl.h View 2 chunks +5 lines, -2 lines 0 comments Download
M src/register-allocator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/register-allocator-inl.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/virtual-frame.cc View 3 chunks +1 line, -67 lines 0 comments Download
A src/virtual-frame-inl.h View 1 2 1 chunk +109 lines, -0 lines 0 comments Download
M src/x64/codegen-x64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/codegen-x64.cc View 2 chunks +1 line, -3 lines 0 comments Download
M src/x64/fast-codegen-x64.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/jump-target-x64.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/register-allocator-x64.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/virtual-frame-x64.h View 2 5 chunks +7 lines, -7 lines 0 comments Download
M src/x64/virtual-frame-x64.cc View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M tools/visual_studio/v8_base.vcproj View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_arm.vcproj View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_x64.vcproj View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
fschneider
It looks a lot, but is really only refactoring, cleanup of includes and declaring some ...
10 years, 10 months ago (2010-02-26 09:03:17 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/660104/diff/26/1052 File src/arm/virtual-frame-arm.h (right): http://codereview.chromium.org/660104/diff/26/1052#newcode349 src/arm/virtual-frame-arm.h:349: void Push(Smi* value) { Push(Handle<Object>(value)); } Should this ...
10 years, 10 months ago (2010-02-26 09:14:29 UTC) #2
fschneider
10 years, 10 months ago (2010-02-26 10:41:08 UTC) #3
http://codereview.chromium.org/660104/diff/26/1052
File src/arm/virtual-frame-arm.h (right):

http://codereview.chromium.org/660104/diff/26/1052#newcode349
src/arm/virtual-frame-arm.h:349: void Push(Smi* value) {
Push(Handle<Object>(value)); }
On 2010/02/26 09:14:29, Søren Gjesse wrote:
> Should this be inline as well (all three platforms)?

Done. It should be inlined already since it is defined in the .h file, but to be
consistent I moved it also to the -inl.h file.

Powered by Google App Engine
This is Rietveld 408576698