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