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

Issue 7744052: Generated code for substring slices in ia32. (Closed)

Created:
9 years, 4 months ago by Yang
Modified:
9 years, 3 months ago
Reviewers:
antonm, Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

Generated code for substring slices in ia32. Committed: http://code.google.com/p/v8/source/detail?r=9064

Patch Set 1 #

Total comments: 16

Patch Set 2 : Implemented Anton's suggestions. #

Patch Set 3 : Another set of small changes. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -13 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 2 chunks +77 lines, -4 lines 2 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 chunk +11 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 chunk +36 lines, -0 lines 0 comments Download
M src/objects.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M test/mjsunit/string-slices.js View 4 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yang
Please take a look.
9 years, 4 months ago (2011-08-26 15:58:39 UTC) #1
antonm
LGTM http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc File src/ia32/code-stubs-ia32.cc (right): http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc#newcode5707 src/ia32/code-stubs-ia32.cc:5707: __ SmiTag(edx); // Make edx a smi again. ...
9 years, 4 months ago (2011-08-26 16:10:55 UTC) #2
Yang
Maybe Vitaly wants to have a look as well? http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc File src/ia32/code-stubs-ia32.cc (right): http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc#newcode5707 src/ia32/code-stubs-ia32.cc:5707: ...
9 years, 3 months ago (2011-08-29 12:55:56 UTC) #3
antonm
http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc File src/ia32/code-stubs-ia32.cc (right): http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc#newcode5707 src/ia32/code-stubs-ia32.cc:5707: __ SmiTag(edx); // Make edx a smi again. On ...
9 years, 3 months ago (2011-08-29 14:51:27 UTC) #4
Yang
http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc File src/ia32/code-stubs-ia32.cc (right): http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc#newcode5707 src/ia32/code-stubs-ia32.cc:5707: __ SmiTag(edx); // Make edx a smi again. On ...
9 years, 3 months ago (2011-08-29 15:17:07 UTC) #5
antonm
Still LGTM, but feel free to wait for Vitlay's review as well. http://codereview.chromium.org/7744052/diff/1/src/ia32/code-stubs-ia32.cc File src/ia32/code-stubs-ia32.cc ...
9 years, 3 months ago (2011-08-29 17:19:26 UTC) #6
Vitaly Repeshko
9 years, 3 months ago (2011-08-30 01:17:47 UTC) #7
LGTM

http://codereview.chromium.org/7744052/diff/9001/src/ia32/code-stubs-ia32.cc
File src/ia32/code-stubs-ia32.cc (right):

http://codereview.chromium.org/7744052/diff/9001/src/ia32/code-stubs-ia32.cc#...
src/ia32/code-stubs-ia32.cc:5756: // Allocate new sliced string.  At this point
we do not reload the instance
This is clever, but the comment is a bit confusing. I'd replace "parent" with
"original" to match the comment about ebx. Also later it may help to use "newly
created slice" to avoid confusion with the one we might have just unwrapped.

Powered by Google App Engine
This is Rietveld 408576698