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

Issue 53005: Add pointers to a VirtualFrame that keep track of the indexes of register... (Closed)

Created:
11 years, 9 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add pointers to a VirtualFrame that keep track of the indexes of register frame elements. Committed: http://code.google.com/p/v8/source/detail?r=1593

Patch Set 1 #

Total comments: 14

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -30 lines) Patch
M src/jump-target.cc View 1 2 chunks +7 lines, -8 lines 0 comments Download
M src/virtual-frame.cc View 1 7 chunks +18 lines, -3 lines 0 comments Download
M src/virtual-frame-arm.h View 1 1 chunk +5 lines, -4 lines 0 comments Download
M src/virtual-frame-ia32.h View 1 2 chunks +9 lines, -4 lines 0 comments Download
M src/virtual-frame-ia32.cc View 1 8 chunks +19 lines, -11 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
This change adds the pointers, but does not exploit them or strip out the old ...
11 years, 9 months ago (2009-03-24 10:28:38 UTC) #1
Kevin Millikin (Chromium)
Try avoid using "pointer" for things that aren't C++ pointers. I have a few suggestions ...
11 years, 9 months ago (2009-03-24 11:28:12 UTC) #2
William Hesse
11 years, 9 months ago (2009-03-24 11:55:56 UTC) #3
All changes made, committed.

http://codereview.chromium.org/53005/diff/1/2
File src/jump-target.cc (right):

http://codereview.chromium.org/53005/diff/1/2#newcode275
Line 275: // Set the register counts and positions.
On 2009/03/24 11:28:12, Kevin Millikin wrote:
> Indices, not positions.

Done.

http://codereview.chromium.org/53005/diff/1/2#newcode282
Line 282: if (current.is_register()) {
On 2009/03/24 11:28:12, Kevin Millikin wrote:
> else if?

Done.

http://codereview.chromium.org/53005/diff/1/6
File src/virtual-frame-arm.h (right):

http://codereview.chromium.org/53005/diff/1/6#newcode381
Line 381: // of updating a pointer to the register's location in the frame.
On 2009/03/24 11:28:12, Kevin Millikin wrote:
> "The index of" not "a pointer to".

Done.

http://codereview.chromium.org/53005/diff/1/6#newcode386
Line 386: // pointer to the register's in the frame.
On 2009/03/24 11:28:12, Kevin Millikin wrote:
> "Index", not "pointer".  To the register's what?

Done.

http://codereview.chromium.org/53005/diff/1/4
File src/virtual-frame-ia32.h (right):

http://codereview.chromium.org/53005/diff/1/4#newcode342
Line 342: int frame_location_[kNumRegisters];
On 2009/03/24 11:28:12, Kevin Millikin wrote:
> frame_location_ is not a good name for the registers' indices in the frame. 
> "register_indices_"?  "register_locations_"?

Done.

http://codereview.chromium.org/53005/diff/1/4#newcode380
Line 380: // of updating a pointer to the register's location in the frame.
On 2009/03/24 11:28:12, Kevin Millikin wrote:
> Index, not pointer.

Done.

http://codereview.chromium.org/53005/diff/1/4#newcode385
Line 385: // pointer to the register's in the frame.
On 2009/03/24 11:28:12, Kevin Millikin wrote:
> Index, not pointer.  The register's what?

Done.

Powered by Google App Engine
This is Rietveld 408576698