| Index: src/parsing/parse-info.h
|
| diff --git a/src/parsing/parse-info.h b/src/parsing/parse-info.h
|
| index 91308183b08d2746f6f20a20787868fc31e2f206..02e413fd96dd8b537be5626adada7ee49c88d50d 100644
|
| --- a/src/parsing/parse-info.h
|
| +++ b/src/parsing/parse-info.h
|
| @@ -8,6 +8,7 @@
|
| #include "include/v8.h"
|
| #include "src/globals.h"
|
| #include "src/handles.h"
|
| +#include "src/parsing/preparsed-scope-data.h"
|
|
|
| namespace v8 {
|
|
|
| @@ -93,6 +94,8 @@ class V8_EXPORT_PRIVATE ParseInfo {
|
| ScriptData** cached_data() const { return cached_data_; }
|
| void set_cached_data(ScriptData** cached_data) { cached_data_ = cached_data; }
|
|
|
| + PreParsedScopeData* preparsed_scope_data() { return &preparsed_scope_data_; }
|
| +
|
| ScriptCompiler::CompileOptions compile_options() const {
|
| return compile_options_;
|
| }
|
| @@ -249,6 +252,7 @@ class V8_EXPORT_PRIVATE ParseInfo {
|
|
|
| //----------- Inputs+Outputs of parsing and scope analysis -----------------
|
| ScriptData** cached_data_; // used if available, populated if requested.
|
| + PreParsedScopeData preparsed_scope_data_;
|
| AstValueFactory* ast_value_factory_; // used if available, otherwise new.
|
| const AstRawString* function_name_;
|
|
|
|
|