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

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 4 years 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 f4b07454d76e4b39b223151d5f9a39a5c0020501..89def41a12e3932e42ba9e75d8f80e304fc8eca5 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -1510,6 +1510,8 @@ class PreParser : public ParserBase<PreParser> {
if (use_counts_ != nullptr) ++use_counts_[feature];
}
+ V8_INLINE bool IgnoreFunctionName() const { return false; }
+
// Preparser's private field members.
int* use_counts_;

Powered by Google App Engine
This is Rietveld 408576698