https://codereview.chromium.org/11035054/diff/1/src/parser.cc File src/parser.cc (right):
https://codereview.chromium.org/11035054/diff/1/src/parser.cc#newcode2847 src/parser.cc:2847: heap_factory->NewStringFromAscii(CStrVector(".for.")); On 2012/10/05 12:31:38, Michael Starzinger wrote:
You could move this symbol into the root-set by adding it to
SYMBOL_LIST, call
it e.g. dot_for_symbol and then access it through
factory->dot_for_symbol(). Done.
Also does the name really need to be different for every temporary, or
could we
use the one symbol for all temporaries?
There can be several loop variables in the same scope, so they should be distinguishable. https://codereview.chromium.org/11035054/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
