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

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

Issue 2683733002: Revert of Reland: [Parse] ParseInfo owns the parsing Zone. (Closed)
Patch Set: Created 3 years, 10 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 Isolate* isolate_; 102 Isolate* isolate_;
103 CompilerDispatcherTracer* tracer_; 103 CompilerDispatcherTracer* tracer_;
104 Handle<SharedFunctionInfo> shared_; // Global handle. 104 Handle<SharedFunctionInfo> shared_; // Global handle.
105 Handle<String> source_; // Global handle. 105 Handle<String> source_; // Global handle.
106 Handle<String> wrapper_; // Global handle. 106 Handle<String> wrapper_; // Global handle.
107 std::unique_ptr<v8::String::ExternalStringResourceBase> source_wrapper_; 107 std::unique_ptr<v8::String::ExternalStringResourceBase> source_wrapper_;
108 size_t max_stack_size_; 108 size_t max_stack_size_;
109 109
110 // Members required for parsing. 110 // Members required for parsing.
111 std::unique_ptr<UnicodeCache> unicode_cache_; 111 std::unique_ptr<UnicodeCache> unicode_cache_;
112 std::unique_ptr<Zone> zone_;
112 std::unique_ptr<Utf16CharacterStream> character_stream_; 113 std::unique_ptr<Utf16CharacterStream> character_stream_;
113 std::unique_ptr<ParseInfo> parse_info_; 114 std::unique_ptr<ParseInfo> parse_info_;
114 std::unique_ptr<Parser> parser_; 115 std::unique_ptr<Parser> parser_;
115 std::unique_ptr<DeferredHandles> handles_from_parsing_; 116 std::unique_ptr<DeferredHandles> handles_from_parsing_;
116 117
117 // Members required for compiling. 118 // Members required for compiling.
118 std::unique_ptr<CompilationInfo> compile_info_; 119 std::unique_ptr<CompilationInfo> compile_info_;
119 std::unique_ptr<CompilationJob> compile_job_; 120 std::unique_ptr<CompilationJob> compile_job_;
120 121
121 bool trace_compiler_dispatcher_jobs_; 122 bool trace_compiler_dispatcher_jobs_;
122 123
123 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherJob); 124 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherJob);
124 }; 125 };
125 126
126 } // namespace internal 127 } // namespace internal
127 } // namespace v8 128 } // namespace v8
128 129
129 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_ 130 #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