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

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

Issue 2577063002: Reland of "Store SharedFunctionInfos of a Script in a FixedArray indexed by their ID" (Closed)
Patch Set: fix 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
« no previous file with comments | « src/objects-inl.h ('k') | src/parsing/parse-info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parse-info.h
diff --git a/src/parsing/parse-info.h b/src/parsing/parse-info.h
index 2fc3e0e01ba748593a6f50be2e2b733f61f2174f..5310905ffe1a5124e79f0833a2eb370ebb7ca966 100644
--- a/src/parsing/parse-info.h
+++ b/src/parsing/parse-info.h
@@ -154,6 +154,11 @@ class V8_EXPORT_PRIVATE ParseInfo {
function_literal_id_ = function_literal_id;
}
+ int max_function_literal_id() const { return max_function_literal_id_; }
+ void set_max_function_literal_id(int max_function_literal_id) {
+ max_function_literal_id_ = max_function_literal_id;
+ }
+
// Getters for individual compiler hints.
bool is_declaration() const;
bool requires_class_field_init() const;
@@ -236,6 +241,7 @@ class V8_EXPORT_PRIVATE ParseInfo {
int start_position_;
int end_position_;
int function_literal_id_;
+ int max_function_literal_id_;
// TODO(titzer): Move handles and isolate out of ParseInfo.
Isolate* isolate_;
« no previous file with comments | « src/objects-inl.h ('k') | src/parsing/parse-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698