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_BASIC_BLOCK_INSTRUMENTOR_H_ | 5 #ifndef V8_COMPILER_BASIC_BLOCK_INSTRUMENTOR_H_ |
6 #define V8_COMPILER_BASIC_BLOCK_INSTRUMENTOR_H_ | 6 #define V8_COMPILER_BASIC_BLOCK_INSTRUMENTOR_H_ |
7 | 7 |
| 8 #include "src/allocation.h" |
8 #include "src/basic-block-profiler.h" | 9 #include "src/basic-block-profiler.h" |
9 | 10 |
10 namespace v8 { | 11 namespace v8 { |
11 namespace internal { | 12 namespace internal { |
12 | 13 |
13 class CompilationInfo; | 14 class CompilationInfo; |
14 | 15 |
15 namespace compiler { | 16 namespace compiler { |
16 | 17 |
17 class Graph; | 18 class Graph; |
18 class Schedule; | 19 class Schedule; |
19 | 20 |
20 class BasicBlockInstrumentor : public AllStatic { | 21 class BasicBlockInstrumentor : public AllStatic { |
21 public: | 22 public: |
22 static BasicBlockProfiler::Data* Instrument(CompilationInfo* info, | 23 static BasicBlockProfiler::Data* Instrument(CompilationInfo* info, |
23 Graph* graph, Schedule* schedule); | 24 Graph* graph, Schedule* schedule); |
24 }; | 25 }; |
25 | 26 |
26 } // namespace compiler | 27 } // namespace compiler |
27 } // namespace internal | 28 } // namespace internal |
28 } // namespace v8 | 29 } // namespace v8 |
29 | 30 |
30 #endif | 31 #endif |
OLD | NEW |