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

Issue 2610343002: Fix: KeyedStoreGeneric must check for writable array length (Closed)

Created:
3 years, 11 months ago by Jakob Kummerow
Modified:
3 years, 11 months ago
Reviewers:
danno
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix: KeyedStoreGeneric must check for writable array length This has been broken since forever. BUG=v8:5669 Review-Url: https://codereview.chromium.org/2610343002 Cr-Commit-Position: refs/heads/master@{#42219} Committed: https://chromium.googlesource.com/v8/v8/+/93a357c7079deda5c8eb9831da0e5f3cb638cff3

Patch Set 1 #

Total comments: 2

Patch Set 2 : introduce IsSetSmi(smi, mask) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -4 lines) Patch
M src/builtins/builtins-array.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download
M src/code-stub-assembler.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M src/ic/keyed-store-generic.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-5669.js View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
Jakob Kummerow
Please review at your convenience.
3 years, 11 months ago (2017-01-05 13:07:00 UTC) #2
danno
lgtm with suggestion/comment https://codereview.chromium.org/2610343002/diff/1/src/ic/keyed-store-generic.cc File src/ic/keyed-store-generic.cc (right): https://codereview.chromium.org/2610343002/diff/1/src/ic/keyed-store-generic.cc#newcode237 src/ic/keyed-store-generic.cc:237: GotoIf(WordEqual(SmiAnd(details, mask_node), mask_node), slow); What about: ...
3 years, 11 months ago (2017-01-10 01:27:13 UTC) #3
Jakob Kummerow
Thanks for the review. https://codereview.chromium.org/2610343002/diff/1/src/ic/keyed-store-generic.cc File src/ic/keyed-store-generic.cc (right): https://codereview.chromium.org/2610343002/diff/1/src/ic/keyed-store-generic.cc#newcode237 src/ic/keyed-store-generic.cc:237: GotoIf(WordEqual(SmiAnd(details, mask_node), mask_node), slow); On ...
3 years, 11 months ago (2017-01-10 11:53:46 UTC) #4
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/2610343002/1
3 years, 11 months ago (2017-01-10 11:54:05 UTC) #6
Jakob Kummerow
Refactored as requested.
3 years, 11 months ago (2017-01-11 10:27:57 UTC) #8
danno
Still lgtm. Thanks for working my feedback in!
3 years, 11 months ago (2017-01-11 11:35:22 UTC) #13
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/2610343002/20001
3 years, 11 months ago (2017-01-11 11:36:10 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 11:37:51 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/93a357c7079deda5c8eb9831da0e5f3cb63...

Powered by Google App Engine
This is Rietveld 408576698