OLD | NEW |
---|---|
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PIPELINE_H_ | 5 #ifndef V8_COMPILER_PIPELINE_H_ |
6 #define V8_COMPILER_PIPELINE_H_ | 6 #define V8_COMPILER_PIPELINE_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/compiler.h" | 10 #include "src/compiler.h" |
11 | 11 |
12 // TODO(dcarney): don't include this here and find a better way to do the | |
13 // initialization in isolate.cc. | |
14 #include "src/compiler/basic-block-profiler.h" | |
titzer
2014/09/23 14:14:09
This ones a no go. Please fix.
| |
15 | |
12 // Note: TODO(turbofan) implies a performance improvement opportunity, | 16 // Note: TODO(turbofan) implies a performance improvement opportunity, |
13 // and TODO(name) implies an incomplete implementation | 17 // and TODO(name) implies an incomplete implementation |
14 | 18 |
15 namespace v8 { | 19 namespace v8 { |
16 namespace internal { | 20 namespace internal { |
17 namespace compiler { | 21 namespace compiler { |
18 | 22 |
19 // Clients of this interface shouldn't depend on lots of compiler internals. | 23 // Clients of this interface shouldn't depend on lots of compiler internals. |
20 class Graph; | 24 class Graph; |
21 class Schedule; | 25 class Schedule; |
(...skipping 28 matching lines...) Expand all Loading... | |
50 Schedule* ComputeSchedule(Graph* graph); | 54 Schedule* ComputeSchedule(Graph* graph); |
51 void VerifyAndPrintGraph(Graph* graph, const char* phase); | 55 void VerifyAndPrintGraph(Graph* graph, const char* phase); |
52 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule, | 56 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule, |
53 SourcePositionTable* source_positions); | 57 SourcePositionTable* source_positions); |
54 }; | 58 }; |
55 } | 59 } |
56 } | 60 } |
57 } // namespace v8::internal::compiler | 61 } // namespace v8::internal::compiler |
58 | 62 |
59 #endif // V8_COMPILER_PIPELINE_H_ | 63 #endif // V8_COMPILER_PIPELINE_H_ |
OLD | NEW |