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

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

Issue 2618553004: [compiler] Collect eager inner functions for compilation during renumbering. (Closed)
Patch Set: Remove unused variable 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 4b66dd0c4deecb6e8dbd19ca5cbb736bbd506943..d297094f4dc8aac9718341bc8fc63d125cb86910 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,10 @@ class V8_EXPORT_PRIVATE ParseInfo {
FunctionLiteral* literal() const { return literal_; }
void set_literal(FunctionLiteral* literal) { literal_ = literal; }
+ ZoneVector<FunctionLiteral*>* eager_inner_function_literals() {
+ return &eager_inner_function_literals_;
+ }
+
DeclarationScope* scope() const;
UnicodeCache* unicode_cache() const { return unicode_cache_; }
@@ -258,6 +263,9 @@ class V8_EXPORT_PRIVATE ParseInfo {
//----------- Output of parsing and scope analysis ------------------------
FunctionLiteral* literal_;
+ //----------- Output of renumbering ------------------------
+ ZoneVector<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