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

Issue 6357025: ArraySplice builtin should return empty array and not alter receiver if invoked with no arguments. (Closed)

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

Description

ArraySplice builtin should return empty array and not alter receiver if invoked with no arguments. Committed: http://code.google.com/p/v8/source/detail?r=6540

Patch Set 1 #

Patch Set 2 : Earlier return #

Total comments: 1

Patch Set 3 : Another try #

Patch Set 4 : Minor correction #

Total comments: 1

Patch Set 5 : Next round #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -13 lines) Patch
M src/array.js View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 1 chunk +16 lines, -9 lines 0 comments Download
M test/mjsunit/array-splice.js View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
antonm
Mads, may you have a look?
9 years, 11 months ago (2011-01-28 19:22:08 UTC) #1
Kevin Millikin (Chromium)
LGTM. But, if we don't think it is performance critical to have the fast path, ...
9 years, 10 months ago (2011-01-31 07:55:11 UTC) #2
antonm
Kevin, Case of no parameters call shouldn't be performance-critical I hope. But early return might ...
9 years, 10 months ago (2011-01-31 11:33:07 UTC) #3
Kevin Millikin (Chromium)
Looks good. I agree that we should keep the two implementations as close as reasonable. ...
9 years, 10 months ago (2011-01-31 12:32:03 UTC) #4
Kevin Millikin (Chromium)
9 years, 10 months ago (2011-01-31 14:51:56 UTC) #5
Yes.  Good.

Powered by Google App Engine
This is Rietveld 408576698