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

Issue 1066003003: Make sure builtins preserve guarantees about empty element array prototypes. (Closed)

Created:
5 years, 8 months ago by mvstanton
Modified:
5 years, 8 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Make sure builtins preserve guarantees about empty element array prototypes. We have a bottleneck around storing elements in the array and object prototypes, but the Push() and Unshift() builtins don't respect them. Fix this exactly to the level of existing support for stores. BUG=v8:4043 LOG=N NOTRY=true Committed: https://crrev.com/9987221c02b63bb93c6013e9706bd5e93322ef14 Cr-Commit-Position: refs/heads/master@{#27943}

Patch Set 1 #

Patch Set 2 : nits. #

Total comments: 4

Patch Set 3 : Oops, leftover printf... #

Patch Set 4 : REBASE, fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -0 lines) Patch
M src/builtins.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
A test/mjsunit/elide-double-hole-check-10.js View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A test/mjsunit/elide-double-hole-check-11.js View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
mvstanton
Hi Jakob, here is the CL we discussed, thx for the look. --Michael
5 years, 8 months ago (2015-04-20 10:34:34 UTC) #2
Jakob Kummerow
LGTM with nits. https://codereview.chromium.org/1066003003/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1066003003/diff/20001/src/objects.cc#newcode12748 src/objects.cc:12748: PrintF("Deopting\n"); debugging leftover? https://codereview.chromium.org/1066003003/diff/20001/test/mjsunit/elide-double-hole-check-10.js File test/mjsunit/elide-double-hole-check-10.js ...
5 years, 8 months ago (2015-04-20 10:52:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066003003/60001
5 years, 8 months ago (2015-04-20 11:02:52 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel/builds/5016)
5 years, 8 months ago (2015-04-20 11:39:20 UTC) #8
Michael Achenbach
You can retry with NOTRY=true for now.
5 years, 8 months ago (2015-04-20 12:10:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066003003/60001
5 years, 8 months ago (2015-04-20 13:58:06 UTC) #11
mvstanton
Thanks Jakob, nits addressed... https://codereview.chromium.org/1066003003/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1066003003/diff/20001/src/objects.cc#newcode12748 src/objects.cc:12748: PrintF("Deopting\n"); On 2015/04/20 10:52:05, Jakob ...
5 years, 8 months ago (2015-04-20 14:10:39 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-20 15:16:55 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-20 15:17:02 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9987221c02b63bb93c6013e9706bd5e93322ef14
Cr-Commit-Position: refs/heads/master@{#27943}

Powered by Google App Engine
This is Rietveld 408576698