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

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: fix async function constructor Created 4 years, 1 month 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 24188d95e2c154f99a0610cc4dd239dd05d554ed..b60708949c41b0f7b436198a0527fb9dd949cd10 100644
--- a/src/parsing/parse-info.h
+++ b/src/parsing/parse-info.h
@@ -147,6 +147,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;
+ }
+
// Getters for individual compiler hints.
bool is_declaration() const;
bool requires_class_field_init() const;
@@ -227,6 +232,7 @@ class V8_EXPORT_PRIVATE ParseInfo {
int compiler_hints_;
int start_position_;
int end_position_;
+ int parameters_end_pos_;
// TODO(titzer): Move handles and isolate out of ParseInfo.
Isolate* isolate_;
« src/objects.cc ('K') | « src/objects.cc ('k') | src/parsing/parse-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698