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

Issue 10735003: Handle accessors on the prototype chain in StoreICs. (Closed)

Created:
8 years, 5 months ago by Sven Panne
Modified:
8 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Handle accessors on the prototype chain in StoreICs. Made stub compiler function signatures a bit more consistent on the way. Committed: https://code.google.com/p/v8/source/detail?r=11984

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added a unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -32 lines) Patch
M src/arm/stub-cache-arm.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 4 chunks +10 lines, -6 lines 0 comments Download
M src/ic.cc View 2 chunks +11 lines, -2 lines 0 comments Download
M src/mips/stub-cache-mips.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M src/stub-cache.h View 2 chunks +5 lines, -3 lines 0 comments Download
M src/stub-cache.cc View 2 chunks +3 lines, -1 line 0 comments Download
M src/x64/stub-cache-x64.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M test/mjsunit/accessor-map-sharing.js View 2 chunks +17 lines, -1 line 0 comments Download
M test/mjsunit/object-define-property.js View 1 2 chunks +88 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
rossberg
LGTM, with comment http://codereview.chromium.org/10735003/diff/1/test/mjsunit/object-define-property.js File test/mjsunit/object-define-property.js (right): http://codereview.chromium.org/10735003/diff/1/test/mjsunit/object-define-property.js#newcode1144 test/mjsunit/object-define-property.js:1144: testSetterOnProto(446, obj3); Maybe you want some ...
8 years, 5 months ago (2012-07-04 10:34:09 UTC) #1
Sven Panne
Landing... http://codereview.chromium.org/10735003/diff/1/test/mjsunit/object-define-property.js File test/mjsunit/object-define-property.js (right): http://codereview.chromium.org/10735003/diff/1/test/mjsunit/object-define-property.js#newcode1144 test/mjsunit/object-define-property.js:1144: testSetterOnProto(446, obj3); On 2012/07/04 10:34:09, rossberg wrote: > ...
8 years, 5 months ago (2012-07-04 11:40:24 UTC) #2
Vyacheslav Egorov (Google)
http://codereview.chromium.org/10735003/diff/1/src/ic.cc File src/ic.cc (right): http://codereview.chromium.org/10735003/diff/1/src/ic.cc#newcode1322 src/ic.cc:1322: if (!FLAG_es5_readonly) return false; Sorry, I do not understand ...
8 years, 5 months ago (2012-07-04 11:48:34 UTC) #3
rossberg
http://codereview.chromium.org/10735003/diff/1/src/ic.cc File src/ic.cc (right): http://codereview.chromium.org/10735003/diff/1/src/ic.cc#newcode1322 src/ic.cc:1322: if (!FLAG_es5_readonly) return false; On 2012/07/04 11:48:34, Vyacheslav Egorov ...
8 years, 5 months ago (2012-07-04 13:18:17 UTC) #4
Sven Panne
On 2012/07/04 13:18:17, rossberg wrote: > Perhaps it isn't necessary, but this patch amends the ...
8 years, 5 months ago (2012-07-04 13:44:34 UTC) #5
rossberg
8 years, 5 months ago (2012-07-04 13:55:06 UTC) #6
On 2012/07/04 13:44:34, Sven Panne wrote:
> On 2012/07/04 13:18:17, rossberg wrote:
> > Perhaps it isn't necessary, but this patch amends the fixes I made earlier
and
> > (had to) put behind that flag -- which, despite the flag's name, also fixed
> the
> > treatment of inherited setters, except for the oversight here.
> 
> Hmmm, thinking about it a bit, I am not convinced anymore that we need the
test.
> In addition to Slava's argument, all our tests + tests262 still work when the
> test is removed. It might actually be clearer when it is removed, but I don't
> have any strong feelings about it. Any opinions?

Well, all _our_ tests work fine with the flag turned on anyway. ;) The
incompatibilities arose downstream, with V8 WebKit bindings relying on the
previous incorrect semantics (or at least I saw plenty of breakage on our WebKit
bots). I think Arv has confirmed that no breakage exists in Chromium anymore, so
I will soon try again to remove the flag anyway.

Powered by Google App Engine
This is Rietveld 408576698