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

Issue 308793012: Inline fast path for Array.indexOf() and Array.lastIndexOf(). (Closed)

Created:
6 years, 6 months ago by Benedikt Meurer
Modified:
6 years, 6 months ago
Reviewers:
mvstanton
CC:
v8-dev
Visibility:
Public.

Description

Inline fast path for Array.indexOf() and Array.lastIndexOf(). TEST=mjsunit/array-indexing R=mvstanton@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21617

Patch Set 1 #

Total comments: 3

Patch Set 2 : Handle heap numbers correctly #

Patch Set 3 : HOptimizedGraphBuilder::BuildArrayIndexOf() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -18 lines) Patch
M src/hydrogen.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 2 chunks +179 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 1 chunk +20 lines, -18 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Benedikt Meurer
PTAL
6 years, 6 months ago (2014-06-02 08:41:42 UTC) #1
mvstanton
Hi Benedikt, very nice. Just one stylistic comment. --Michael https://codereview.chromium.org/308793012/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/308793012/diff/1/src/hydrogen.cc#newcode8063 src/hydrogen.cc:8063: ...
6 years, 6 months ago (2014-06-02 11:43:44 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/308793012/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/308793012/diff/1/src/hydrogen.cc#newcode8063 src/hydrogen.cc:8063: { Done.
6 years, 6 months ago (2014-06-02 12:08:15 UTC) #3
mvstanton
lgtm
6 years, 6 months ago (2014-06-02 12:39:45 UTC) #4
Benedikt Meurer
6 years, 6 months ago (2014-06-03 04:01:42 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r21617 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698