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

Issue 2131383002: [builtins] take slow path in IsConcatSpreadable if proxy in prototype (Closed)

Created:
4 years, 5 months ago by caitp
Modified:
4 years, 5 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] take slow path in IsConcatSpreadable if proxy in prototype BUG=v8:5134 R=cbruni@chromium.org, littledan@chromium.org, neis@chromium.org Committed: https://crrev.com/122a9b7af02606dae558336082ab139a87eba39d Cr-Commit-Position: refs/heads/master@{#37987}

Patch Set 1 #

Patch Set 2 : fix test262.status #

Patch Set 3 : Fix tests #

Total comments: 6

Patch Set 4 : Refactor #

Total comments: 1

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -4 lines) Patch
M src/builtins/builtins-array.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M test/mjsunit/es6/array-concat.js View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M test/test262/test262.status View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
caitp
PTAL (this probably hurts some benchmarks pretty badly due to checking the entire prototype chain ...
4 years, 5 months ago (2016-07-08 21:04:50 UTC) #1
Dan Ehrenberg
On 2016/07/08 at 21:04:50, caitp wrote: > PTAL > > (this probably hurts some benchmarks ...
4 years, 5 months ago (2016-07-08 21:17:47 UTC) #2
Camillo Bruni
On 2016/07/08 at 21:17:47, littledan wrote: Can you try micro-benchmarking with a dictionary-elements array? I ...
4 years, 5 months ago (2016-07-11 08:16:40 UTC) #3
neis
https://codereview.chromium.org/2131383002/diff/40001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/2131383002/diff/40001/src/builtins.cc#newcode1186 src/builtins.cc:1186: PrototypeIterator::END_AT_NON_HIDDEN); This must be END_AT_NULL. https://codereview.chromium.org/2131383002/diff/40001/src/builtins.cc#newcode1197 src/builtins.cc:1197: HasProxyInPrototype(isolate, JSReceiver::cast(*obj))) ...
4 years, 5 months ago (2016-07-11 09:25:19 UTC) #4
caitp
https://codereview.chromium.org/2131383002/diff/40001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/2131383002/diff/40001/src/builtins.cc#newcode1186 src/builtins.cc:1186: PrototypeIterator::END_AT_NON_HIDDEN); On 2016/07/11 09:25:19, neis wrote: > This must ...
4 years, 5 months ago (2016-07-11 11:12:09 UTC) #5
Camillo Bruni
lgtm with nits https://codereview.chromium.org/2131383002/diff/60001/test/mjsunit/es6/array-concat.js File test/mjsunit/es6/array-concat.js (right): https://codereview.chromium.org/2131383002/diff/60001/test/mjsunit/es6/array-concat.js#newcode896 test/mjsunit/es6/array-concat.js:896: })(); Could you add the same ...
4 years, 5 months ago (2016-07-13 13:02:15 UTC) #14
Dan Ehrenberg
On 2016/07/13 13:02:15, Camillo Bruni wrote: > lgtm with nits Do we have benchmark results ...
4 years, 5 months ago (2016-07-13 18:42:16 UTC) #15
caitp
On 2016/07/13 18:42:16, Dan Ehrenberg wrote: > On 2016/07/13 13:02:15, Camillo Bruni wrote: > > ...
4 years, 5 months ago (2016-07-22 16:28:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2131383002/80001
4 years, 5 months ago (2016-07-22 18:18:12 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-22 18:42:23 UTC) #20
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/122a9b7af02606dae558336082ab139a87eba39d Cr-Commit-Position: refs/heads/master@{#37987}
4 years, 5 months ago (2016-07-22 18:43:31 UTC) #22
neis
The test file is still broken, i.e., it passes without your code changes.
4 years, 5 months ago (2016-07-25 07:41:15 UTC) #23
caitp
4 years, 5 months ago (2016-07-25 12:11:31 UTC) #24
Message was sent while issue was closed.
On 2016/07/25 07:41:15, neis wrote:
> The test file is still broken, i.e., it passes without your code changes.

Oop. Well, I can send a followup to fix the tests, its fine to revert first

Powered by Google App Engine
This is Rietveld 408576698