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

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: Disabled new test for ignition. 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
« no previous file with comments | « src/messages.h ('k') | src/parsing/parser.cc » ('j') | src/parsing/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.h
diff --git a/src/parsing/parser.h b/src/parsing/parser.h
index c1d8afd6dd264330258e02420c1a930c63e66afc..79bafc4e3b961d768c683b0499cb2b6fcc533864 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -661,6 +661,8 @@ class ParserTraits {
Expression* RewriteYieldStar(
Expression* generator, Expression* expression, int pos);
+ Expression* RewriteInstanceof(Expression* lhs, Expression* rhs, int pos);
+
private:
Parser* parser_;
@@ -670,6 +672,7 @@ class ParserTraits {
void BuildIteratorCloseForCompletion(
ZoneList<Statement*>* statements, Variable* iterator,
Variable* body_threw);
+ Statement* CheckCallable(Variable* var, Expression* error);
};
« no previous file with comments | « src/messages.h ('k') | src/parsing/parser.cc » ('j') | src/parsing/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698