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 600124: Introduce builtin for Array.unshift function. (Closed)

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

Description

Introduce builtin for Array.unshift function. Committed: http://code.google.com/p/v8/source/detail?r=3859

Patch Set 1 #

Patch Set 2 : Finishing the change #

Total comments: 10

Patch Set 3 : Adding a test and fixing a bug with no args unshift. Plus Mads' comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -23 lines) Patch
M src/bootstrapper.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins.cc View 1 2 5 chunks +92 lines, -23 lines 0 comments Download
A test/mjsunit/array-unshift.js View 1 chunk +116 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
antonm
Mads, may you have look at this one? There is still place for improvements both ...
10 years, 10 months ago (2010-02-15 10:46:31 UTC) #1
Mads Ager (chromium)
LGTM Please make sure that we have test cases for the different cases as for ...
10 years, 10 months ago (2010-02-15 11:23:41 UTC) #2
antonm
I've spotted one bug in my code---one cannot leave early from unshift with no args ...
10 years, 10 months ago (2010-02-15 13:21:10 UTC) #3
Mads Ager (chromium)
10 years, 10 months ago (2010-02-15 13:25:51 UTC) #4
LGTM, good catch.

Powered by Google App Engine
This is Rietveld 408576698