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

Issue 1214733013: [es6] Enforce TDZ checks for let/const in StoreLookupSlot (Closed)

Created:
5 years, 5 months ago by arv (Not doing code reviews)
Modified:
5 years, 5 months ago
Reviewers:
Dan Ehrenberg, rossberg
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es6] Enforce TDZ checks for let/const in StoreLookupSlot With --harmony-sloppy we can get to a runtime store in the presence of an eval. We therefor need to check that the value is not the hole which is used to enforce TDZ. BUG=v8:4284 LOG=N R=rossberg@chromium.org, littledan@chromium.org Committed: https://crrev.com/a73338ba9e22c2ac0e2213995849d61a521b8cd0 Cr-Commit-Position: refs/heads/master@{#29577}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -29 lines) Patch
M src/runtime/runtime-scopes.cc View 1 chunk +6 lines, -0 lines 2 comments Download
M test/mjsunit/es6/block-let-semantics.js View 1 chunk +16 lines, -14 lines 0 comments Download
M test/mjsunit/harmony/block-let-semantics-sloppy.js View 1 chunk +16 lines, -15 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
arv (Not doing code reviews)
PTAL
5 years, 5 months ago (2015-07-08 19:25:39 UTC) #1
Dan Ehrenberg
https://codereview.chromium.org/1214733013/diff/1/src/runtime/runtime-scopes.cc File src/runtime/runtime-scopes.cc (right): https://codereview.chromium.org/1214733013/diff/1/src/runtime/runtime-scopes.cc#newcode1034 src/runtime/runtime-scopes.cc:1034: } Looks like this is called by FullCodeGen. Do ...
5 years, 5 months ago (2015-07-09 00:00:47 UTC) #2
arv (Not doing code reviews)
https://codereview.chromium.org/1214733013/diff/1/src/runtime/runtime-scopes.cc File src/runtime/runtime-scopes.cc (right): https://codereview.chromium.org/1214733013/diff/1/src/runtime/runtime-scopes.cc#newcode1034 src/runtime/runtime-scopes.cc:1034: } On 2015/07/09 00:00:47, Dan Ehrenberg wrote: > Looks ...
5 years, 5 months ago (2015-07-09 14:30:36 UTC) #3
rossberg
lgtm
5 years, 5 months ago (2015-07-10 11:45:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214733013/1
5 years, 5 months ago (2015-07-10 15:55:31 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-10 16:20:44 UTC) #7
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 16:20:59 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a73338ba9e22c2ac0e2213995849d61a521b8cd0
Cr-Commit-Position: refs/heads/master@{#29577}

Powered by Google App Engine
This is Rietveld 408576698