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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 2645403002: [Compiler] Enable use of seperate zones for parsing and compiling. (Closed)
Patch Set: Add back header 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/pipeline.cc ('k') | src/crankshaft/hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast/ast-type-bounds.h" 10 #include "src/ast/ast-type-bounds.h"
(...skipping 20 matching lines...) Expand all
31 class HTracer; 31 class HTracer;
32 class LAllocator; 32 class LAllocator;
33 class LChunk; 33 class LChunk;
34 class LiveRange; 34 class LiveRange;
35 35
36 class HCompilationJob final : public CompilationJob { 36 class HCompilationJob final : public CompilationJob {
37 public: 37 public:
38 explicit HCompilationJob(Handle<JSFunction> function) 38 explicit HCompilationJob(Handle<JSFunction> function)
39 : CompilationJob(function->GetIsolate(), &info_, "Crankshaft"), 39 : CompilationJob(function->GetIsolate(), &info_, "Crankshaft"),
40 parse_info_(handle(function->shared())), 40 parse_info_(handle(function->shared())),
41 info_(&parse_info_, function), 41 info_(parse_info_.zone(), &parse_info_, function),
42 graph_(nullptr), 42 graph_(nullptr),
43 chunk_(nullptr) {} 43 chunk_(nullptr) {}
44 44
45 protected: 45 protected:
46 virtual Status PrepareJobImpl(); 46 virtual Status PrepareJobImpl();
47 virtual Status ExecuteJobImpl(); 47 virtual Status ExecuteJobImpl();
48 virtual Status FinalizeJobImpl(); 48 virtual Status FinalizeJobImpl();
49 49
50 private: 50 private:
51 ParseInfo parse_info_; 51 ParseInfo parse_info_;
(...skipping 2944 matching lines...) Expand 10 before | Expand all | Expand 10 after
2996 } 2996 }
2997 2997
2998 private: 2998 private:
2999 HOptimizedGraphBuilder* builder_; 2999 HOptimizedGraphBuilder* builder_;
3000 }; 3000 };
3001 3001
3002 } // namespace internal 3002 } // namespace internal
3003 } // namespace v8 3003 } // namespace v8
3004 3004
3005 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3005 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698