Clean up manual bit field usage in PreParserExpression
authorwingo@igalia.com <wingo@igalia.com>
Tue, 7 Oct 2014 09:20:08 +0000 (09:20 +0000)
committerwingo@igalia.com <wingo@igalia.com>
Tue, 7 Oct 2014 09:20:08 +0000 (09:20 +0000)
commit1888b8f10dca71867c5aef0cab638417adb7e89b
treedb84db6d3cd6b0c686e987b66581ca99442d98db
parentac1224eafd8a6149f0f9f459d8778a44640572f4
Clean up manual bit field usage in PreParserExpression

Instead of using an integer value and manual bit-fiddling, use C++'s
support for specifying bit sizes for integral types. This way the bits
used to describe a PreParserExpression are handled by the compiler.

BUG=
LOG=
R=svenpanne@chromium.org

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

Patch from Adrian Perez <aperez@igalia.com>.

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