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

Issue 1072083002: [es6] don't "replace" Object.prototype.toString for --harmony-tostring (Closed)

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

Description

[es6] don't "replace" Object.prototype.toString for --harmony-tostring When ObjectToString is installed on Object.prototype twice (once in v8natives.js, and once in harmony-tostring.js), this pollutes old code spaces on some devices. To prevent this, the function is only installed once, preventing test failures when the --harmony-tostring flag is flipped on by default. BUG=v8:3502 LOG=N R=arv@chromium.org Committed: https://crrev.com/48eff34c323aa430cb3605079f9322e0310149d0 Cr-Commit-Position: refs/heads/master@{#27720}

Patch Set 1 #

Patch Set 2 : Fix snapshot failure #

Patch Set 3 : Don't try to delete an undefined value (but this isn't related to the failures?) #

Patch Set 4 : A much more painful fix #

Patch Set 5 : Without phantom edits #

Patch Set 6 : Final fixup... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -28 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M src/harmony-tostring.js View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M src/heap/heap.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/messages.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime/runtime-internal.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/v8natives.js View 1 2 3 3 chunks +23 lines, -2 lines 0 comments Download
M test/mjsunit/es6/prototype-ordinary-objects.js View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M test/mjsunit/function-arguments-null.js View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
caitp (gmail)
PTAL It's crrev.com/1072573002 without the flag flip, so that it's easier to revert the flag ...
5 years, 8 months ago (2015-04-09 15:54:38 UTC) #1
arv (Not doing code reviews)
LGTM The CL description could be expanded a bit to explain the motivation better.
5 years, 8 months ago (2015-04-09 16:44:48 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072083002/20001
5 years, 8 months ago (2015-04-09 16:53:05 UTC) #4
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/4694)
5 years, 8 months ago (2015-04-09 17:16:12 UTC) #6
caitp (gmail)
On 2015/04/09 17:16:12, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 8 months ago (2015-04-09 17:18:48 UTC) #7
caitp (gmail)
On 2015/04/09 17:16:12, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 8 months ago (2015-04-09 18:14:41 UTC) #8
arv (Not doing code reviews)
On 2015/04/09 18:14:41, caitp wrote: > On 2015/04/09 17:16:12, I haz the power (commit-bot) wrote: ...
5 years, 8 months ago (2015-04-09 18:16:09 UTC) #9
arv (Not doing code reviews)
On 2015/04/09 18:14:41, caitp wrote: > On 2015/04/09 17:16:12, I haz the power (commit-bot) wrote: ...
5 years, 8 months ago (2015-04-09 18:16:09 UTC) #10
caitp (gmail)
On 2015/04/09 18:16:09, arv wrote: > On 2015/04/09 18:14:41, caitp wrote: > > On 2015/04/09 ...
5 years, 8 months ago (2015-04-09 18:47:22 UTC) #11
arv (Not doing code reviews)
LGTM Lets hope this works.
5 years, 8 months ago (2015-04-09 19:27:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072083002/80001
5 years, 8 months ago (2015-04-09 19:28:39 UTC) #14
caitp (gmail)
On 2015/04/09 19:28:39, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 8 months ago (2015-04-09 19:47:03 UTC) #15
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/4697)
5 years, 8 months ago (2015-04-09 19:49:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072083002/100001
5 years, 8 months ago (2015-04-09 19:57:00 UTC) #20
caitp (gmail)
On 2015/04/09 19:49:45, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 8 months ago (2015-04-09 19:57:36 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-09 20:53:51 UTC) #22
commit-bot: I haz the power
5 years, 8 months ago (2015-04-09 20:54:05 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/48eff34c323aa430cb3605079f9322e0310149d0
Cr-Commit-Position: refs/heads/master@{#27720}

Powered by Google App Engine
This is Rietveld 408576698