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

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: Code comments. 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 87b6a910a458bb231687a0a4fb268d0194f99865..f13b673d4206e5470886d68f80cb2d9686f91af3 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -659,11 +659,14 @@ class ParserTraits {
Expression* RewriteYieldStar(
Expression* generator, Expression* expression, int pos);
+ Expression* RewriteInstanceof(Expression* lhs, Expression* rhs, int pos);
+
private:
Parser* parser_;
void BuildIteratorClose(ZoneList<Statement*>* statements, Variable* iterator,
Maybe<Variable*> input, Maybe<Variable*> output);
+ Statement* CheckCallable(Variable* var, Expression* error);
};
« no previous file with comments | « src/messages.h ('k') | src/parsing/parser.cc » ('j') | src/runtime/runtime-function.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698