Comment #2 on issue 4284 by [email protected]: Sloppy let binding and eval does not enforce TDZ
https://code.google.com/p/v8/issues/detail?id=4284#c2

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/a73338ba9e22c2ac0e2213995849d61a521b8cd0

commit a73338ba9e22c2ac0e2213995849d61a521b8cd0
Author: arv <[email protected]>
Date: Fri Jul 10 16:20:34 2015

[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
[email protected], [email protected]

Review URL: https://codereview.chromium.org/1214733013

Cr-Commit-Position: refs/heads/master@{#29577}

[modify] http://crrev.com/a73338ba9e22c2ac0e2213995849d61a521b8cd0/src/runtime/runtime-scopes.cc [modify] http://crrev.com/a73338ba9e22c2ac0e2213995849d61a521b8cd0/test/mjsunit/es6/block-let-semantics.js [modify] http://crrev.com/a73338ba9e22c2ac0e2213995849d61a521b8cd0/test/mjsunit/harmony/block-let-semantics-sloppy.js


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to