| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index e4ade7b97a04eed0248126a084810854e39935f2..405cfb2512ecf0a0905c180e80dd8a1c9f21db70 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -77,7 +77,7 @@ class CompilationInfo {
|
| Handle<Script> script() const { return script_; }
|
| HydrogenCodeStub* code_stub() const {return code_stub_; }
|
| v8::Extension* extension() const { return extension_; }
|
| - ScriptDataImpl* pre_parse_data() const { return pre_parse_data_; }
|
| + ScriptDataImpl** cached_data() const { return cached_data_; }
|
| Handle<Context> context() const { return context_; }
|
| BailoutId osr_ast_id() const { return osr_ast_id_; }
|
| Handle<Code> unoptimized_code() const { return unoptimized_code_; }
|
| @@ -183,9 +183,9 @@ class CompilationInfo {
|
| ASSERT(!is_lazy());
|
| extension_ = extension;
|
| }
|
| - void SetPreParseData(ScriptDataImpl* pre_parse_data) {
|
| + void SetCachedData(ScriptDataImpl** cached_data) {
|
| ASSERT(!is_lazy());
|
| - pre_parse_data_ = pre_parse_data;
|
| + cached_data_ = cached_data;
|
| }
|
| void SetContext(Handle<Context> context) {
|
| context_ = context;
|
| @@ -400,7 +400,7 @@ class CompilationInfo {
|
|
|
| // Fields possibly needed for eager compilation, NULL by default.
|
| v8::Extension* extension_;
|
| - ScriptDataImpl* pre_parse_data_;
|
| + ScriptDataImpl** cached_data_;
|
|
|
| // The context of the caller for eval code, and the global context for a
|
| // global script. Will be a null handle otherwise.
|
| @@ -630,7 +630,7 @@ class Compiler : public AllStatic {
|
| bool is_shared_cross_origin,
|
| Handle<Context> context,
|
| v8::Extension* extension,
|
| - ScriptDataImpl* pre_data,
|
| + ScriptDataImpl** pre_data,
|
| NativesFlag is_natives_code);
|
|
|
| // Create a shared function info object (the code may be lazily compiled).
|
|
|