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

Issue 12342003: Use InternalArray in Object.getOwnPropertyNames() implementation (Closed)

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

Description

Use InternalArray in Object.getOwnPropertyNames() implementation Committed: https://code.google.com/p/v8/source/detail?r=13918

Patch Set 1 #

Total comments: 9

Patch Set 2 : Reworked concat usage #

Total comments: 6

Patch Set 3 : New baseline (merged to bleeding_edge) #

Patch Set 4 : Dealt with review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -13 lines) Patch
M src/array.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/v8natives.js View 1 2 3 1 chunk +18 lines, -13 lines 0 comments Download
M test/mjsunit/object-get-own-property-names.js View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
adamk
7 years, 10 months ago (2013-02-26 00:54:28 UTC) #1
Vyacheslav Egorov (Google)
I defer to Michael for final opinion. https://codereview.chromium.org/12342003/diff/1/src/array.js File src/array.js (right): https://codereview.chromium.org/12342003/diff/1/src/array.js#newcode1556 src/array.js:1556: "concat", getFunction("concat", ...
7 years, 10 months ago (2013-02-26 01:21:32 UTC) #2
adamk
https://codereview.chromium.org/12342003/diff/1/src/array.js File src/array.js (right): https://codereview.chromium.org/12342003/diff/1/src/array.js#newcode1556 src/array.js:1556: "concat", getFunction("concat", ArrayConcat), On 2013/02/26 01:21:33, Vyacheslav Egorov (Google) ...
7 years, 10 months ago (2013-02-26 01:44:53 UTC) #3
adamk
Okay, updated with two changes: - InternalArray.prototype.concat now returns an InternalArray - Only call concat ...
7 years, 10 months ago (2013-02-26 02:28:12 UTC) #4
adamk
Michael, can you take a look at this?
7 years, 9 months ago (2013-03-05 16:23:25 UTC) #5
Michael Starzinger
Sorry for the long delay. This CL completely fell through the cracks somehow. Now it ...
7 years, 9 months ago (2013-03-11 12:02:38 UTC) #6
adamk
On 2013/03/11 12:02:38, Michael Starzinger wrote: > Sorry for the long delay. This CL completely ...
7 years, 9 months ago (2013-03-11 16:13:11 UTC) #7
Michael Starzinger
Since ObjectGetOwnPropertyNames() is the only call-site that requires ArrayConcat and then copies the result into ...
7 years, 9 months ago (2013-03-11 17:14:18 UTC) #8
adamk
On 2013/03/11 17:14:18, Michael Starzinger wrote: > Since ObjectGetOwnPropertyNames() is the only call-site that requires ...
7 years, 9 months ago (2013-03-11 17:30:25 UTC) #9
Michael Starzinger
I don't have a general concern about making InternalArray more capable. But the getInternalArrayConcat() function ...
7 years, 9 months ago (2013-03-12 12:06:12 UTC) #10
Michael Starzinger
One round of actionable comments. Sorry for being so vague before. https://codereview.chromium.org/12342003/diff/5001/src/array.js File src/array.js (right): ...
7 years, 9 months ago (2013-03-12 12:09:06 UTC) #11
adamk
Had to rebaseline; uploaded a patch in the middle (3) so you can diff against ...
7 years, 9 months ago (2013-03-12 18:25:18 UTC) #12
Michael Starzinger
7 years, 9 months ago (2013-03-12 19:46:49 UTC) #13
LGTM.

Powered by Google App Engine
This is Rietveld 408576698