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 15 matching lines...) Expand all Loading... |
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 OptimizedCompileJob { |
34 public: | 34 public: |
35 explicit HCompilationJob(CompilationInfo* info) | 35 explicit HCompilationJob(CompilationInfo* info) |
36 : OptimizedCompileJob(info), graph_(nullptr), chunk_(nullptr) {} | 36 : OptimizedCompileJob(info, "Crankshaft"), |
| 37 graph_(nullptr), |
| 38 chunk_(nullptr) {} |
37 | 39 |
38 protected: | 40 protected: |
39 virtual Status CreateGraphImpl(); | 41 virtual Status CreateGraphImpl(); |
40 virtual Status OptimizeGraphImpl(); | 42 virtual Status OptimizeGraphImpl(); |
41 virtual Status GenerateCodeImpl(); | 43 virtual Status GenerateCodeImpl(); |
42 | 44 |
43 private: | 45 private: |
44 HGraph* graph_; | 46 HGraph* graph_; |
45 LChunk* chunk_; | 47 LChunk* chunk_; |
46 }; | 48 }; |
(...skipping 3055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3102 } | 3104 } |
3103 | 3105 |
3104 private: | 3106 private: |
3105 HOptimizedGraphBuilder* builder_; | 3107 HOptimizedGraphBuilder* builder_; |
3106 }; | 3108 }; |
3107 | 3109 |
3108 } // namespace internal | 3110 } // namespace internal |
3109 } // namespace v8 | 3111 } // namespace v8 |
3110 | 3112 |
3111 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3113 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |