DescriptionMove the AstVisitor stack check from Accept to Visit.
The stack check has been moved from the Accept function dispatching on
the AST node type, earlier to the Visit function dispatching on the
visitor type.
This allows very simple non-recursive visitors (not taking extra
arguments or returning values) via the convention of calling "Visit"
if one wants the stack check and "Accept" if one does not. Recursive
calls should all be via "Visit".
Committed: http://code.google.com/p/v8/source/detail?r=4320
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|