lgtm % comment

https://codereview.chromium.org/994043003/diff/40001/src/preparser.h
File src/preparser.h (right):

https://codereview.chromium.org/994043003/diff/40001/src/preparser.h#newcode2152
src/preparser.h:2152: kind = static_cast<FunctionKind>(kind |
FunctionKind::kInObjectLiteral);
Add function:
  FunctionKind WithObjectLiteralBit(FunctionKind kind)
that does this and asserts validity.

https://codereview.chromium.org/994043003/diff/40001/src/preparser.h#newcode2188
src/preparser.h:2188: kind = static_cast<FunctionKind>(kind |
FunctionKind::kInObjectLiteral);
Ditto.

https://codereview.chromium.org/994043003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to