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

Unified Diff: src/parsing/preparser.h

Issue 2156303002: Implement new Function.prototype.toString and fix CreateDynamicFunction parsing (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 3 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/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index 9291578dbce579f580b9b1004ac7b56d4856a125..f522471532a0527a392537b252774dfb62f8c44c 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -1671,6 +1671,8 @@ class PreParser : public ParserBase<PreParser> {
if (use_counts_ != nullptr) ++use_counts_[feature];
}
+ V8_INLINE bool ParsingDynamicFunctionDeclaration() const { return false; }
+
// Preparser's private field members.
int* use_counts_;

Powered by Google App Engine
This is Rietveld 408576698