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

Unified Diff: src/compiler/pipeline.cc

Issue 2645403002: [Compiler] Enable use of seperate zones for parsing and compiling. (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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/pipeline.cc
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
index 628fe4198aeedf6adf5cd8de93e86573ffc83773..9eda05b494d265fba8a6c8d5b8d0b121beffa448 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -551,8 +551,9 @@ class PipelineCompilationJob final : public CompilationJob {
// to the CompilationJob constructor, but it is not dereferenced there.
: CompilationJob(isolate, &info_, "TurboFan"),
parse_info_(handle(function->shared())),
+ compile_zone_(isolate->allocator(), ZONE_NAME),
zone_stats_(isolate->allocator()),
- info_(&parse_info_, function),
+ info_(&compile_zone_, &parse_info_, function),
pipeline_statistics_(CreatePipelineStatistics(info(), &zone_stats_)),
data_(&zone_stats_, info(), pipeline_statistics_.get()),
pipeline_(&data_),
@@ -565,6 +566,7 @@ class PipelineCompilationJob final : public CompilationJob {
private:
ParseInfo parse_info_;
+ Zone compile_zone_;
ZoneStats zone_stats_;
CompilationInfo info_;
std::unique_ptr<PipelineStatistics> pipeline_statistics_;

Powered by Google App Engine
This is Rietveld 408576698