OLD | NEW |
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.h" | 10 #include "src/ast/ast.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 class FunctionState; | 23 class FunctionState; |
24 class HEnvironment; | 24 class HEnvironment; |
25 class HGraph; | 25 class HGraph; |
26 class HLoopInformation; | 26 class HLoopInformation; |
27 class HOsrBuilder; | 27 class HOsrBuilder; |
28 class HTracer; | 28 class HTracer; |
29 class LAllocator; | 29 class LAllocator; |
30 class LChunk; | 30 class LChunk; |
31 class LiveRange; | 31 class LiveRange; |
32 | 32 |
33 class HCompilationJob final : public OptimizedCompileJob { | 33 class HCompilationJob final : public CompilationJob { |
34 public: | 34 public: |
35 explicit HCompilationJob(CompilationInfo* info) | 35 explicit HCompilationJob(CompilationInfo* info) |
36 : OptimizedCompileJob(info, "Crankshaft"), | 36 : CompilationJob(info, "Crankshaft"), graph_(nullptr), chunk_(nullptr) {} |
37 graph_(nullptr), | |
38 chunk_(nullptr) {} | |
39 | 37 |
40 protected: | 38 protected: |
41 virtual Status CreateGraphImpl(); | 39 virtual Status CreateGraphImpl(); |
42 virtual Status OptimizeGraphImpl(); | 40 virtual Status OptimizeGraphImpl(); |
43 virtual Status GenerateCodeImpl(); | 41 virtual Status GenerateCodeImpl(); |
44 | 42 |
45 private: | 43 private: |
46 HGraph* graph_; | 44 HGraph* graph_; |
47 LChunk* chunk_; | 45 LChunk* chunk_; |
48 }; | 46 }; |
(...skipping 3055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3104 } | 3102 } |
3105 | 3103 |
3106 private: | 3104 private: |
3107 HOptimizedGraphBuilder* builder_; | 3105 HOptimizedGraphBuilder* builder_; |
3108 }; | 3106 }; |
3109 | 3107 |
3110 } // namespace internal | 3108 } // namespace internal |
3111 } // namespace v8 | 3109 } // namespace v8 |
3112 | 3110 |
3113 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3111 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |