Neat.
https://codereview.chromium.org/663683006/diff/1/src/bailout-reason.h
File src/bailout-reason.h (right):
https://codereview.chromium.org/663683006/diff/1/src/bailout-reason.h#newcode326
src/bailout-reason.h:326: V(kTemplateLiteral, "Template Literal")
Keep in alphabetical order.
https://codereview.chromium.org/663683006/diff/1/src/scanner.h
File src/scanner.h (right):
https://codereview.chromium.org/663683006/diff/1/src/scanner.h#newcode363
src/scanner.h:363: Token::Value Next(Mode mode = None);
I'm not sure you want to use a mode here. Once you are in a template
literal you can just call the right function, similar to how we handle
regular expressions.
https://codereview.chromium.org/663683006/
--
--
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.