DescriptionMinor cleanups & trivial refactoring related to Ast.
1) Literal::IsNull, IsTrue and IsFalse were dead code, and not needed.
2) No need to use the node type constants outside the Ast; there is IsSomeNodeType().
3) AsSomeNodeType() != NULL -> IsSomeNodeType().
R=rossberg@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=21621
Patch Set 1 #Patch Set 2 : rebased #
Messages
Total messages: 3 (0 generated)
|