Comment #9 on issue 3956 by [email protected]: Implement strong mode
https://code.google.com/p/v8/issues/detail?id=3956#c9

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

commit cb7279da811f7add2f2f6a3bfbf0528834354fa3
Author: marja <[email protected]>
Date: Tue Mar 24 16:46:53 2015

[strong] Check strong mode free variables against the global object.

Gather references to unbound variables where the reference (VariableProxy) is inside strong mode. Check them against the global object when a script is bound
to a context (during compilation).

This CL only checks unbound variables which are not inside lazy functions - TBD how do we solve that; alternatives: add developer mode which disables laziness /
do the check whenever lazy functions are really compiled.

BUG=v8:3956
LOG=N

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

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

[modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/api.cc [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/messages.js [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/objects.h [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/parser.cc [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/pending-compilation-error-handler.cc [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/pending-compilation-error-handler.h [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/scopeinfo.cc [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/scopes.cc [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/scopes.h [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/variables.cc [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/src/variables.h [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/test/cctest/test-parsing.cc [modify] http://crrev.com/cb7279da811f7add2f2f6a3bfbf0528834354fa3/test/mjsunit/strong/declaration-after-use.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