OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_PROFILER_PROFILE_GENERATOR_H_ | 5 #ifndef V8_PROFILER_PROFILE_GENERATOR_H_ |
6 #define V8_PROFILER_PROFILE_GENERATOR_H_ | 6 #define V8_PROFILER_PROFILE_GENERATOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include "include/v8-profiler.h" | 9 #include "include/v8-profiler.h" |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
11 #include "src/compiler.h" | 11 #include "src/compiler.h" |
12 #include "src/hashmap.h" | 12 #include "src/hashmap.h" |
13 #include "src/strings-storage.h" | 13 #include "src/profiler/strings-storage.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 // Provides a mapping from the offsets within generated code to | 18 // Provides a mapping from the offsets within generated code to |
19 // the source line. | 19 // the source line. |
20 class JITLineInfoTable : public Malloced { | 20 class JITLineInfoTable : public Malloced { |
21 public: | 21 public: |
22 JITLineInfoTable(); | 22 JITLineInfoTable(); |
23 ~JITLineInfoTable(); | 23 ~JITLineInfoTable(); |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 CodeEntry* unresolved_entry_; | 373 CodeEntry* unresolved_entry_; |
374 | 374 |
375 DISALLOW_COPY_AND_ASSIGN(ProfileGenerator); | 375 DISALLOW_COPY_AND_ASSIGN(ProfileGenerator); |
376 }; | 376 }; |
377 | 377 |
378 | 378 |
379 } // namespace internal | 379 } // namespace internal |
380 } // namespace v8 | 380 } // namespace v8 |
381 | 381 |
382 #endif // V8_PROFILER_PROFILE_GENERATOR_H_ | 382 #endif // V8_PROFILER_PROFILE_GENERATOR_H_ |
OLD | NEW |