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

Issue 1265003: Slightly faster variant of Array.push. (Closed)

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

Description

Slightly faster variant of Array.push. Committed: http://code.google.com/p/v8/source/detail?r=4279

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing Mads' comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M src/ia32/stub-cache-ia32.cc View 1 4 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
antonm
And another small review for you, Mads. Most important point is change from undefined to ...
10 years, 9 months ago (2010-03-25 07:32:46 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/1265003/diff/1/2 File src/ia32/stub-cache-ia32.cc (right): http://codereview.chromium.org/1265003/diff/1/2#newcode1317 src/ia32/stub-cache-ia32.cc:1317: __ mov(ecx, Operand(esp, argc * kPointerSize)); Could you ...
10 years, 9 months ago (2010-03-25 09:56:27 UTC) #2
antonm
10 years, 9 months ago (2010-03-25 14:19:12 UTC) #3
Thanks a lot for review, Mads.  Running through tests and submitting.

http://codereview.chromium.org/1265003/diff/1/2
File src/ia32/stub-cache-ia32.cc (right):

http://codereview.chromium.org/1265003/diff/1/2#newcode1317
src/ia32/stub-cache-ia32.cc:1317: __ mov(ecx, Operand(esp, argc *
kPointerSize));
On 2010/03/25 09:56:28, Mads Ager wrote:
> Could you add a comment here:
> 
> // Push the element.

Done.

http://codereview.chromium.org/1265003/diff/1/2#newcode1321
src/ia32/stub-cache-ia32.cc:1321: Immediate(Factory::the_hole_value()));
On 2010/03/25 09:56:28, Mads Ager wrote:
> This looks like the right thing in any case.  I remember commenting that this
> should probably be the_hole on the first review.  ;) 

I am sorry, Mads.

Powered by Google App Engine
This is Rietveld 408576698