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

Side by Side Diff: src/compiler-dispatcher/compiler-dispatcher-job.h

Issue 2645613008: Revert of [Parse] ParseInfo owns the parsing Zone. (Closed)
Patch Set: Created 3 years, 11 months 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 unified diff | Download patch
« no previous file with comments | « src/compiler.cc ('k') | src/compiler-dispatcher/compiler-dispatcher-job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_ 5 #ifndef V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_
6 #define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_ 6 #define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "include/v8.h" 10 #include "include/v8.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 Isolate* isolate_; 90 Isolate* isolate_;
91 CompilerDispatcherTracer* tracer_; 91 CompilerDispatcherTracer* tracer_;
92 Handle<SharedFunctionInfo> shared_; // Global handle. 92 Handle<SharedFunctionInfo> shared_; // Global handle.
93 Handle<String> source_; // Global handle. 93 Handle<String> source_; // Global handle.
94 Handle<String> wrapper_; // Global handle. 94 Handle<String> wrapper_; // Global handle.
95 std::unique_ptr<v8::String::ExternalStringResourceBase> source_wrapper_; 95 std::unique_ptr<v8::String::ExternalStringResourceBase> source_wrapper_;
96 size_t max_stack_size_; 96 size_t max_stack_size_;
97 97
98 // Members required for parsing. 98 // Members required for parsing.
99 std::unique_ptr<UnicodeCache> unicode_cache_; 99 std::unique_ptr<UnicodeCache> unicode_cache_;
100 std::unique_ptr<Zone> zone_;
100 std::unique_ptr<Utf16CharacterStream> character_stream_; 101 std::unique_ptr<Utf16CharacterStream> character_stream_;
101 std::unique_ptr<ParseInfo> parse_info_; 102 std::unique_ptr<ParseInfo> parse_info_;
102 std::unique_ptr<Parser> parser_; 103 std::unique_ptr<Parser> parser_;
103 std::unique_ptr<DeferredHandles> handles_from_parsing_; 104 std::unique_ptr<DeferredHandles> handles_from_parsing_;
104 105
105 // Members required for compiling. 106 // Members required for compiling.
106 std::unique_ptr<CompilationInfo> compile_info_; 107 std::unique_ptr<CompilationInfo> compile_info_;
107 std::unique_ptr<CompilationJob> compile_job_; 108 std::unique_ptr<CompilationJob> compile_job_;
108 109
109 bool trace_compiler_dispatcher_jobs_; 110 bool trace_compiler_dispatcher_jobs_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherJob); 112 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherJob);
112 }; 113 };
113 114
114 } // namespace internal 115 } // namespace internal
115 } // namespace v8 116 } // namespace v8
116 117
117 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_ 118 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/compiler-dispatcher/compiler-dispatcher-job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698