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

Issue 217014: Handle array construction in native code (ARM version) (Closed)

Created:
11 years, 3 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Handle array construction in native code (ARM version). Ported the handle array construction in native code to ARM. See http://codereview.chromium.org/193125 for details. Committed: http://code.google.com/p/v8/source/detail?r=2956

Patch Set 1 #

Total comments: 16

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -3 lines) Patch
M src/arm/builtins-arm.cc View 1 2 2 chunks +393 lines, -2 lines 0 comments Download
M src/builtins.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/objects.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Søren Thygesen Gjesse
11 years, 3 months ago (2009-09-22 07:30:16 UTC) #1
Erik Corry
Are you sure this runs the fast case? http://codereview.chromium.org/217014/diff/1/2 File src/arm/builtins-arm.cc (right): http://codereview.chromium.org/217014/diff/1/2#newcode69 Line 69: ...
11 years, 3 months ago (2009-09-22 12:48:53 UTC) #2
Søren Thygesen Gjesse
Fixed the bug you discovered, please take another look. http://codereview.chromium.org/217014/diff/1/2 File src/arm/builtins-arm.cc (right): http://codereview.chromium.org/217014/diff/1/2#newcode69 Line ...
11 years, 3 months ago (2009-09-23 07:03:52 UTC) #3
Erik Corry
LGTM. Consider combining the size-from-register and size-in-constant cases to reduce code size. http://codereview.chromium.org/217014/diff/1/2 File src/arm/builtins-arm.cc ...
11 years, 3 months ago (2009-09-23 08:26:28 UTC) #4
Søren Thygesen Gjesse
11 years, 3 months ago (2009-09-23 08:55:26 UTC) #5
I will try combining the size-from-register and size-in-constant cases as a
separate change.

http://codereview.chromium.org/217014/diff/1/2
File src/arm/builtins-arm.cc (right):

http://codereview.chromium.org/217014/diff/1/2#newcode149
Line 149: if (holes <= kLoopUnfoldLimit) {
On 2009/09/23 08:26:28, Erik Corry wrote:
> On 2009/09/23 07:03:52, Søren Gjesse wrote:
> > On 2009/09/22 12:48:54, Erik Corry wrote:
> > > And here assert that holes is less than kLoopUnfoldLimit.
> > 
> > Removed kLoopUnfoldLimit (constant only used in an ASSERT requires #ifdef
> > DEBUG/#endif) and put in the constant 10.
> 
> That must be fixable.
> 
> 

It was. Done.

http://codereview.chromium.org/217014/diff/4001/4002#newcode314
Line 314: // Handle construction of an empty array.
On 2009/09/23 08:26:28, Erik Corry wrote:
> to large -> too large

Done.

http://codereview.chromium.org/217014/diff/4001/4002#newcode361
Line 361: __ add(sp, sp, Operand(2 * kPointerSize));
On 2009/09/23 08:26:28, Erik Corry wrote:
> Note sentence starting "Note" therefore the use of grammar. 

Done.

http://codereview.chromium.org/217014/diff/4001/4002#newcode407
Line 407: __ bind(&entry);
On 2009/09/23 08:26:28, Erik Corry wrote:
> as -> as a

Done.

http://codereview.chromium.org/217014/diff/4001/4002#newcode410
Line 410: 
On 2009/09/23 08:26:28, Erik Corry wrote:
> in case -> if

Done.

http://codereview.chromium.org/217014/diff/4001/4002#newcode430
Line 430: 
On 2009/09/23 08:26:28, Erik Corry wrote:
> does always have -> always has

Done.

http://codereview.chromium.org/217014/diff/4001/4002#newcode442
Line 442: 
On 2009/09/23 08:26:28, Erik Corry wrote:
> as -> as a

Done.

Powered by Google App Engine
This is Rietveld 408576698