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

Issue 934463003: super.property store (Closed)

Created:
5 years, 10 months ago by arv (Not doing code reviews)
Modified:
5 years, 10 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

Super store When the property is not found on the [[HomeObject]] prototype chain then we should do a [[DefineOwnProperty]] on the instance. BUG=v8:3330 LOG=N Committed: https://crrev.com/0cffc08b667a067089c7eecffea3e8021ab2ff57 Cr-Commit-Position: refs/heads/master@{#26754}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 3

Patch Set 3 : Elements works #

Patch Set 4 : Fix arraysize #

Total comments: 6

Patch Set 5 : Use assertUnreachable instead of counter #

Patch Set 6 : take 2 #

Patch Set 7 : Cleanup error messaging a bit #

Total comments: 9

Patch Set 8 : Use switch to make sure all states are covered #

Patch Set 9 : cleanup #

Total comments: 2

Patch Set 10 : Remove extra newlines #

Patch Set 11 : Fix issue with details of non found property #

Total comments: 1

Patch Set 12 : Add UNREACHABLE #

Patch Set 13 : git rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+465 lines, -164 lines) Patch
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +17 lines, -4 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 12 15 chunks +151 lines, -67 lines 0 comments Download
M src/runtime/runtime-classes.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -3 lines 0 comments Download
M test/mjsunit/harmony/super.js View 1 2 3 4 5 18 chunks +295 lines, -90 lines 0 comments Download

Messages

Total messages: 31 (5 generated)
arv (Not doing code reviews)
cleanup
5 years, 10 months ago (2015-02-17 20:29:34 UTC) #1
arv (Not doing code reviews)
PTAL https://codereview.chromium.org/934463003/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/934463003/diff/20001/src/objects.cc#newcode3148 src/objects.cc:3148: if (data_store_mode == SUPER_PROPERTY) { To me it ...
5 years, 10 months ago (2015-02-17 20:41:22 UTC) #3
arv (Not doing code reviews)
Elements works
5 years, 10 months ago (2015-02-17 22:15:02 UTC) #4
arv (Not doing code reviews)
5 years, 10 months ago (2015-02-17 22:24:43 UTC) #6
arv (Not doing code reviews)
Fix arraysize
5 years, 10 months ago (2015-02-17 22:34:25 UTC) #7
arv (Not doing code reviews)
Use assertUnreachable instead of counter
5 years, 10 months ago (2015-02-17 22:40:48 UTC) #8
adamk
https://codereview.chromium.org/934463003/diff/60001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/934463003/diff/60001/src/objects.cc#newcode12884 src/objects.cc:12884: // is read-only (a declared const that has not ...
5 years, 10 months ago (2015-02-17 22:47:45 UTC) #9
arv (Not doing code reviews)
https://codereview.chromium.org/934463003/diff/60001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/934463003/diff/60001/src/objects.cc#newcode12884 src/objects.cc:12884: // is read-only (a declared const that has not ...
5 years, 10 months ago (2015-02-17 22:55:05 UTC) #10
arv (Not doing code reviews)
I think this is pretty broken at the moment. I'll have to look at it ...
5 years, 10 months ago (2015-02-17 23:48:04 UTC) #11
arv (Not doing code reviews)
take 2
5 years, 10 months ago (2015-02-18 00:42:23 UTC) #12
arv (Not doing code reviews)
Cleanup error messaging a bit
5 years, 10 months ago (2015-02-18 00:57:45 UTC) #13
arv (Not doing code reviews)
PTAL I believe this is doing the right thing for all these crazy edge cases. ...
5 years, 10 months ago (2015-02-18 01:00:04 UTC) #14
adamk
This is looking good to me, but I definitely think that Toon should take a ...
5 years, 10 months ago (2015-02-18 01:26:05 UTC) #15
Toon Verwaest
https://codereview.chromium.org/934463003/diff/100001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/934463003/diff/100001/src/objects.cc#newcode3149 src/objects.cc:3149: if (data_store_mode == SUPER_PROPERTY) { Given that this flag ...
5 years, 10 months ago (2015-02-18 13:54:08 UTC) #16
arv (Not doing code reviews)
On 2015/02/18 01:26:05, adamk wrote: > ... and the switch to > passing DEFINE_PROPERTY in ...
5 years, 10 months ago (2015-02-18 16:44:52 UTC) #17
arv (Not doing code reviews)
cleanup
5 years, 10 months ago (2015-02-18 17:43:58 UTC) #18
arv (Not doing code reviews)
Thanks. PTAL https://codereview.chromium.org/934463003/diff/100001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/934463003/diff/100001/src/objects.cc#newcode3174 src/objects.cc:3174: NewTypeError("redefine_disallowed", On 2015/02/18 01:26:05, adamk wrote: > ...
5 years, 10 months ago (2015-02-18 17:46:14 UTC) #19
adamk
lgtm % whitespace https://codereview.chromium.org/934463003/diff/140001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/934463003/diff/140001/src/objects.cc#newcode3191 src/objects.cc:3191: Nit: extra blank line? https://codereview.chromium.org/934463003/diff/140001/src/objects.cc#newcode3202 src/objects.cc:3202: ...
5 years, 10 months ago (2015-02-18 18:39:07 UTC) #20
arv (Not doing code reviews)
Remove extra newlines
5 years, 10 months ago (2015-02-18 18:40:28 UTC) #22
arv (Not doing code reviews)
Fix issue with details of non found property
5 years, 10 months ago (2015-02-18 19:09:47 UTC) #23
Toon Verwaest
lgtm with nit. Thanks, that looks a lot more readable (and correct) now. https://codereview.chromium.org/934463003/diff/180001/src/objects.cc File ...
5 years, 10 months ago (2015-02-19 05:32:19 UTC) #24
arv (Not doing code reviews)
Add UNREACHABLE
5 years, 10 months ago (2015-02-19 15:32:00 UTC) #26
arv (Not doing code reviews)
git rebase
5 years, 10 months ago (2015-02-19 15:50:14 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934463003/220001
5 years, 10 months ago (2015-02-19 15:51:09 UTC) #29
commit-bot: I haz the power
Committed patchset #13 (id:220001)
5 years, 10 months ago (2015-02-19 16:15:31 UTC) #30
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 16:15:46 UTC) #31
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/0cffc08b667a067089c7eecffea3e8021ab2ff57
Cr-Commit-Position: refs/heads/master@{#26754}

Powered by Google App Engine
This is Rietveld 408576698