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

Issue 3132046: Add sparse array handling to Array.protoype.indexOf/lastIndexOf. (Closed)

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

Description

Add sparse array handling to Array.protoype.indexOf/lastIndexOf.

Patch Set 1 #

Patch Set 2 : Add tests, and fix bugs found by tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -25 lines) Patch
M src/array.js View 1 2 chunks +57 lines, -6 lines 0 comments Download
M src/runtime.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M test/mjsunit/array-indexing.js View 1 chunk +98 lines, -17 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein
10 years, 4 months ago (2010-08-26 07:36:06 UTC) #1
Mads Ager (chromium)
Please add regression tests for this. When that is done this look good to me.
10 years, 4 months ago (2010-08-26 07:46:13 UTC) #2
Lasse Reichstein
10 years, 4 months ago (2010-08-26 08:54:49 UTC) #3
Good call. There was a bug not hit by the current tests.

Powered by Google App Engine
This is Rietveld 408576698