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

Unified Diff: src/parsing/parse-info.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/parse-info.h
diff --git a/src/parsing/parse-info.h b/src/parsing/parse-info.h
index 2fc3e0e01ba748593a6f50be2e2b733f61f2174f..21d5e0836ddc37f823bbec08efe4e6b82d13c305 100644
--- a/src/parsing/parse-info.h
+++ b/src/parsing/parse-info.h
@@ -149,6 +149,11 @@ class V8_EXPORT_PRIVATE ParseInfo {
int end_position() const { return end_position_; }
void set_end_position(int end_position) { end_position_ = end_position; }
+ int parameters_end_pos() const { return parameters_end_pos_; }
+ void set_parameters_end_pos(int parameters_end_pos) {
+ parameters_end_pos_ = parameters_end_pos;
+ }
+
int function_literal_id() const { return function_literal_id_; }
void set_function_literal_id(int function_literal_id) {
function_literal_id_ = function_literal_id;
@@ -235,6 +240,7 @@ class V8_EXPORT_PRIVATE ParseInfo {
int compiler_hints_;
int start_position_;
int end_position_;
+ int parameters_end_pos_;
int function_literal_id_;
// TODO(titzer): Move handles and isolate out of ParseInfo.

Powered by Google App Engine
This is Rietveld 408576698