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

Issue 2724833002: Migrate Object.prototype.valueOf to CSA (Closed)

Created:
3 years, 9 months ago by rongjie
Modified:
3 years, 9 months ago
Reviewers:
Benedikt Meurer, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Migrate Object.prototype.valueOf to CSA BUG=v8:6005 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2724833002 Cr-Commit-Position: refs/heads/master@{#43539} Committed: https://chromium.googlesource.com/v8/v8/+/f93b27e639cca6a93ce9b6c535ece9b6cc399a01

Patch Set 1 #

Patch Set 2 : Delete NaN #

Total comments: 3

Patch Set 3 : Add set_object_value & update cctest #

Total comments: 3

Patch Set 4 : Separate CL & fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -13 lines) Patch
M src/bootstrapper.cc View 1 2 1 chunk +4 lines, -0 lines 1 comment Download
M src/builtins/builtins.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins-object.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/debug/debug-evaluate.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M src/js/v8natives.js View 2 3 3 chunks +1 line, -11 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (20 generated)
rongjie
3 years, 9 months ago (2017-03-01 14:35:08 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/2724833002/diff/40001/src/js/v8natives.js File src/js/v8natives.js (left): https://codereview.chromium.org/2724833002/diff/40001/src/js/v8natives.js#oldcode117 src/js/v8natives.js:117: "object_value_of", ObjectValueOf, Does this pass the test suite?
3 years, 9 months ago (2017-03-01 19:57:16 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/2724833002/diff/40001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2724833002/diff/40001/src/bootstrapper.cc#newcode1270 src/bootstrapper.cc:1270: Builtins::kObjectPrototypeValueOf, 0, true); We still use the object_value_of field ...
3 years, 9 months ago (2017-03-01 20:00:26 UTC) #7
rongjie
https://codereview.chromium.org/2724833002/diff/40001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2724833002/diff/40001/src/bootstrapper.cc#newcode1270 src/bootstrapper.cc:1270: Builtins::kObjectPrototypeValueOf, 0, true); On 2017/03/01 20:00:26, Benedikt Meurer wrote: ...
3 years, 9 months ago (2017-03-02 01:16:45 UTC) #10
Benedikt Meurer
Thanks. It looks like the test-serialize.cc failure should be fixed by removing the failing test ...
3 years, 9 months ago (2017-03-02 05:22:22 UTC) #14
rongjie
On 2017/03/02 05:22:22, Benedikt Meurer wrote: > Thanks. It looks like the test-serialize.cc failure should ...
3 years, 9 months ago (2017-03-02 06:35:56 UTC) #17
Yang
Debug-evaluate uses the bytecode to determine whether a function is side-effect free or not. Since ...
3 years, 9 months ago (2017-03-02 06:55:12 UTC) #18
rongjie
https://codereview.chromium.org/2724833002/diff/60001/src/js/v8natives.js File src/js/v8natives.js (left): https://codereview.chromium.org/2724833002/diff/60001/src/js/v8natives.js#oldcode14 src/js/v8natives.js:14: var NaN = %GetRootNaN(); On 2017/03/02 06:55:12, Yang wrote: ...
3 years, 9 months ago (2017-03-02 07:29:15 UTC) #19
rongjie
> Regarding DCHECK failures in test-serialize... if you are seeing > DCHECK(!context.Empty()) failing, something more ...
3 years, 9 months ago (2017-03-02 12:01:50 UTC) #20
Yang
On 2017/03/02 12:01:50, rongjie wrote: > > Regarding DCHECK failures in test-serialize... if you are ...
3 years, 9 months ago (2017-03-02 12:43:04 UTC) #23
Benedikt Meurer
LGTM, thanks!
3 years, 9 months ago (2017-03-02 12:49:06 UTC) #26
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/2724833002/80001
3 years, 9 months ago (2017-03-02 12:55:08 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:80001) as https://chromium.googlesource.com/v8/v8/+/f93b27e639cca6a93ce9b6c535ece9b6cc399a01
3 years, 9 months ago (2017-03-02 12:57:28 UTC) #31
Michael Achenbach
A revert of this CL (patchset #4 id:80001) has been created in https://codereview.chromium.org/2730573004/ by machenbach@chromium.org. ...
3 years, 9 months ago (2017-03-02 14:26:32 UTC) #32
Benedikt Meurer
As written on the bug report, the layout test is only failing because of enumeration ...
3 years, 9 months ago (2017-03-03 05:22:47 UTC) #34
Yang
On 2017/03/03 05:22:47, Benedikt Meurer wrote: > As written on the bug report, the layout ...
3 years, 9 months ago (2017-03-03 05:28:40 UTC) #36
Benedikt Meurer
3 years, 9 months ago (2017-03-03 05:33:39 UTC) #37
On 2017/03/03 05:28:40, Yang wrote:
> On 2017/03/03 05:22:47, Benedikt Meurer wrote:
> > As written on the bug report, the layout test is only failing because of
> > enumeration order. Just move the lines down in the bootstrapper.cc and  it
> > should be fine.
> > 
> > You can just reuse this CL with a fix uploaded. I'll make the blink bot
> > mandatory, so the trybots will catch potential layout test failures.
> > 
> > https://codereview.chromium.org/2724833002/diff/80001/src/bootstrapper.cc
> > File src/bootstrapper.cc (right):
> > 
> >
>
https://codereview.chromium.org/2724833002/diff/80001/src/bootstrapper.cc#new...
> > src/bootstrapper.cc:1269: Handle<JSFunction> object_value_of =
> > SimpleInstallFunction(
> > Just move this down until after "propertyIsEnumerable" is installed, then
the
> > layout test should pass.
> 
> making blink bot mandatory is undesirable whenever blink has a bad commit and
> fails because of something else.

I mean mandatory for this CL by adding the CQ_INCLUDE_TRYBOTS line.

Powered by Google App Engine
This is Rietveld 408576698