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

Issue 16481: Copy of changelist from issue 16450. Converts compare operation... (Closed)

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

Description

Copy of changelist from issue 16450. Converts compare operation to use virtual frames, adds xchg instruction to assembler. Committed: http://code.google.com/p/v8/source/detail?r=1021

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -25 lines) Patch
M src/assembler-ia32.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/assembler-ia32.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/codegen-ia32.cc View 1 3 chunks +48 lines, -25 lines 0 comments Download
M src/disasm-ia32.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/jump-target.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/jump-target-ia32.cc View 1 2 chunks +65 lines, -0 lines 0 comments Download
M src/virtual-frame-ia32.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
Here is the new version of 16450, with your comments addressed.
11 years, 12 months ago (2008-12-29 11:47:25 UTC) #1
Kevin Millikin (Chromium)
LGTM with some minor comments below. http://codereview.chromium.org/16481/diff/1/8 File src/codegen-ia32.cc (right): http://codereview.chromium.org/16481/diff/1/8#newcode1212 Line 1212: is_smi.Branch(zero, &right_side, ...
11 years, 12 months ago (2008-12-29 13:30:37 UTC) #2
William Hesse
11 years, 12 months ago (2008-12-29 13:43:27 UTC) #3
All changes made.

http://codereview.chromium.org/16481/diff/1/8
File src/codegen-ia32.cc (right):

http://codereview.chromium.org/16481/diff/1/8#newcode1212
Line 1212: is_smi.Branch(zero, &right_side, &left_side, taken);
On 2008/12/29 13:30:37, Kevin Millikin wrote:
> It doesn't really matter, but would rather have these passed in the other
order.

Done.

http://codereview.chromium.org/16481/diff/1/8#newcode1230
Line 1230: Result answer = frame_->CallStub(&stub, &right_side, &left_side, 0);
On 2008/12/29 13:30:37, Kevin Millikin wrote:
> Ditto.

Done.

http://codereview.chromium.org/16481/diff/1/8#newcode1238
Line 1238: // This is currenly sub-optimal, I think.
On 2008/12/29 13:30:37, Kevin Millikin wrote:
> A multiline comment should not begin as an end of line comment.
> 
> Don't be so personal in the comments and try to be more explicit.  The reader
> doesn't know who the "I" in question is if they want to ask why this is
> suboptimal.
> 
> You should probably hint at what's suboptimal here: the slow case frame will
be
> spilled by the call to the stub, which will currently cause the fast case
frame
> to be spilled too.

Done.

http://codereview.chromium.org/16481/diff/1/3
File src/virtual-frame-ia32.cc (right):

http://codereview.chromium.org/16481/diff/1/3#newcode135
Line 135: if (!frame_registers_.is_used(target.code())) return;
On 2008/12/29 13:30:37, Kevin Millikin wrote:
> Use the overloaded version of is_used that takes a Register argument.

Done.

Powered by Google App Engine
This is Rietveld 408576698