Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1602)

Unified Diff: src/parsing/parser.h

Issue 1692713005: ES6: Desugaring of instanceof to support @@hasInstance (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@blah
Patch Set: Fixed todos. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/parsing/parser.h
diff --git a/src/parsing/parser.h b/src/parsing/parser.h
index 5f0176c76a7466f772292564056615cdc3e0baf9..728268a8db1357cd63d390733223617c89932342 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -659,6 +659,8 @@ class ParserTraits {
Expression* RewriteYieldStar(
Expression* generator, Expression* expression, int pos);
+ Expression* RewriteInstanceof(Expression* lhs, Expression* rhs, int pos);
+
private:
Parser* parser_;

Powered by Google App Engine
This is Rietveld 408576698