Comment #21 on issue 2700 by [email protected]: Implement arrow functions
https://code.google.com/p/v8/issues/detail?id=2700#c21

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

commit 0841f7241b2c36904f781b71859bf3f77a854af5
Author: [email protected] <[email protected]>
Date: Thu Oct 16 13:19:36 2014

Track usage of "this" and "arguments" in Scope

This adds flags in Scope to track wheter a Scope uses "this" and,
"arguments". The information is exposed via Scope::uses_this(),
and Scope::uses_arguments(), respectively. Flags for tracking
usage on any inner scope uses are available as well via
Scope::inner_uses_this(), and Scope::inner_uses_arguments().

Knowing whether scopes use "this" and "arguments" will be handy
to generate the code needed to capture their values when generating
the code for arrow functions.

BUG=v8:2700
LOG=
[email protected]

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

Patch from Adrian Perez de Castro <[email protected]>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24663 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

[modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/src/ast-value-factory.h [modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/src/globals.h [modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/src/objects.h [modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/src/preparser.h [modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/src/runtime/runtime-debug.cc [modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/src/scopeinfo.cc [modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/src/scopes.cc [modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/src/scopes.h [modify] https://chromium.googlesource.com/v8/v8.git/+/0841f7241b2c36904f781b71859bf3f77a854af5/test/cctest/test-parsing.cc


--
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