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_PROFILE_GENERATOR_H_ | 5 #ifndef V8_PROFILE_GENERATOR_H_ |
6 #define V8_PROFILE_GENERATOR_H_ | 6 #define V8_PROFILE_GENERATOR_H_ |
7 | 7 |
| 8 #include "include/v8-profiler.h" |
8 #include "src/allocation.h" | 9 #include "src/allocation.h" |
9 #include "src/hashmap.h" | 10 #include "src/hashmap.h" |
10 #include "include/v8-profiler.h" | |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 struct OffsetRange; | 15 struct OffsetRange; |
16 | 16 |
17 // Provides a storage of strings allocated in C++ heap, to hold them | 17 // Provides a storage of strings allocated in C++ heap, to hold them |
18 // forever, even if they disappear from JS heap or external storage. | 18 // forever, even if they disappear from JS heap or external storage. |
19 class StringsStorage { | 19 class StringsStorage { |
20 public: | 20 public: |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 CodeEntry* gc_entry_; | 329 CodeEntry* gc_entry_; |
330 CodeEntry* unresolved_entry_; | 330 CodeEntry* unresolved_entry_; |
331 | 331 |
332 DISALLOW_COPY_AND_ASSIGN(ProfileGenerator); | 332 DISALLOW_COPY_AND_ASSIGN(ProfileGenerator); |
333 }; | 333 }; |
334 | 334 |
335 | 335 |
336 } } // namespace v8::internal | 336 } } // namespace v8::internal |
337 | 337 |
338 #endif // V8_PROFILE_GENERATOR_H_ | 338 #endif // V8_PROFILE_GENERATOR_H_ |
OLD | NEW |