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

Unified Diff: src/parsing/parse-info.h

Issue 2618553004: [compiler] Collect eager inner functions for compilation during renumbering. (Closed)
Patch Set: Move to ThreadedList Created 3 years, 11 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/parse-info.h
diff --git a/src/parsing/parse-info.h b/src/parsing/parse-info.h
index 87052a5a7e1d053341658a12cb63f458d1e014c7..9ff42e24e4b400bf064bb1feca266e1b35b7f9f5 100644
--- a/src/parsing/parse-info.h
+++ b/src/parsing/parse-info.h
@@ -9,6 +9,7 @@
#include "src/globals.h"
#include "src/handles.h"
#include "src/objects/scope-info.h"
+#include "src/zone/zone-containers.h"
namespace v8 {
@@ -124,6 +125,11 @@ class V8_EXPORT_PRIVATE ParseInfo {
FunctionLiteral* literal() const { return literal_; }
void set_literal(FunctionLiteral* literal) { literal_ = literal; }
+ ThreadedList<ThreadedListZoneEntry<FunctionLiteral*>>*
+ eager_inner_function_literals() {
+ return &eager_inner_function_literals_;
+ }
+
DeclarationScope* scope() const;
UnicodeCache* unicode_cache() const { return unicode_cache_; }
@@ -256,6 +262,10 @@ class V8_EXPORT_PRIVATE ParseInfo {
//----------- Output of parsing and scope analysis ------------------------
FunctionLiteral* literal_;
+ //----------- Output of renumbering ------------------------
+ ThreadedList<ThreadedListZoneEntry<FunctionLiteral*>>
+ eager_inner_function_literals_;
+
void SetFlag(Flag f) { flags_ |= f; }
void SetFlag(Flag f, bool v) { flags_ = v ? flags_ | f : flags_ & ~f; }
bool GetFlag(Flag f) const { return (flags_ & f) != 0; }

Powered by Google App Engine
This is Rietveld 408576698