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

Issue 2231683002: [turbofan] Properly guard keyed stores wrt. setters in the prototype chain. (Closed)

Created:
4 years, 4 months ago by Benedikt Meurer
Modified:
4 years, 4 months ago
Reviewers:
Toon Verwaest
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@2232483002
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Properly guard keyed stores wrt. setters in the prototype chain. For holey/growing keyed stores, we need to check that there are no setters in the prototype chain and protect against changes to that via code dependencies. R=verwaest@chromium.org BUG=v8:5275, v8:5276 Committed: https://crrev.com/7060bab81cbe3a81f4340263ab6c3b105ed90eec Cr-Commit-Position: refs/heads/master@{#38514}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address feedback. #

Patch Set 3 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -14 lines) Patch
M src/compiler/js-native-context-specialization.cc View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A + test/mjsunit/regress/regress-5275-1.js View 1 chunk +8 lines, -4 lines 0 comments Download
A + test/mjsunit/regress/regress-5275-2.js View 1 chunk +8 lines, -4 lines 0 comments Download
M test/webkit/webkit.status View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
Benedikt Meurer
4 years, 4 months ago (2016-08-10 05:30:47 UTC) #1
Benedikt Meurer
Hey Toon, Here's the fix for the missing prototype chain checks for keyed growing/holey stores. ...
4 years, 4 months ago (2016-08-10 05:31:26 UTC) #4
Toon Verwaest
https://codereview.chromium.org/2231683002/diff/1/src/compiler/js-native-context-specialization.cc File src/compiler/js-native-context-specialization.cc (right): https://codereview.chromium.org/2231683002/diff/1/src/compiler/js-native-context-specialization.cc#newcode486 src/compiler/js-native-context-specialization.cc:486: if (!receiver_map->prototype()->IsNull(isolate()) && drop this null check, already covered ...
4 years, 4 months ago (2016-08-10 05:38:36 UTC) #5
Benedikt Meurer
https://codereview.chromium.org/2231683002/diff/1/src/compiler/js-native-context-specialization.cc File src/compiler/js-native-context-specialization.cc (right): https://codereview.chromium.org/2231683002/diff/1/src/compiler/js-native-context-specialization.cc#newcode486 src/compiler/js-native-context-specialization.cc:486: if (!receiver_map->prototype()->IsNull(isolate()) && On 2016/08/10 05:38:36, Toon Verwaest wrote: ...
4 years, 4 months ago (2016-08-10 05:41:47 UTC) #8
Toon Verwaest
lgtm
4 years, 4 months ago (2016-08-10 05:42:31 UTC) #9
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/2231683002/20001
4 years, 4 months ago (2016-08-10 05:43:39 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_android_arm_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/22481) v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 4 months ago (2016-08-10 05:44:50 UTC) #15
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/2231683002/40001
4 years, 4 months ago (2016-08-10 06:23:15 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-10 06:30:10 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 06:30:30 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7060bab81cbe3a81f4340263ab6c3b105ed90eec
Cr-Commit-Position: refs/heads/master@{#38514}

Powered by Google App Engine
This is Rietveld 408576698