DescriptionEliminate the constant location used for literals in the AST.
Literals now have a location of temporary by default and are
responsible for moving themselves into their location like all other
expressions.
The constant location turned out not to allow us to avoid checking
subexpressions in AST interior nodes, and it turned out to require
checking after some normal calls to Visit (like for the arguments to a
call). With this change do not have to check after a call to Visit
that we got our result in the expected location.
Committed: http://code.google.com/p/v8/source/detail?r=3137
Patch Set 1 #
Total comments: 9
Messages
Total messages: 2 (0 generated)
|