-
oliver@apple.com authored
Reviewed by Gavin Barraclough. Remove switches from inner expression loops in the parser https://bugs.webkit.org/show_bug.cgi?id=42035 Use bitmasks and flags on the token types to identify unary and binary operators, rather than switching on the token type to identify them. * parser/JSParser.cpp: (JSC::isUnaryOp): (JSC::JSParser::isBinaryOperator): * parser/JSParser.h: (JSC::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e3c2546b