Index: src/profile-generator.h |
diff --git a/src/profile-generator.h b/src/profile-generator.h |
index 9ce5f23943123283f6c536b5de94b8ba90afc2b8..0a4502cc1b388a0b5043778211577e728171db5d 100644 |
--- a/src/profile-generator.h |
+++ b/src/profile-generator.h |
@@ -41,7 +41,7 @@ struct OffsetRange; |
// forever, even if they disappear from JS heap or external storage. |
class StringsStorage { |
public: |
- StringsStorage(); |
+ explicit StringsStorage(Heap* heap); |
~StringsStorage(); |
const char* GetCopy(const char* src); |
@@ -63,6 +63,7 @@ class StringsStorage { |
const char* AddOrDisposeString(char* str, uint32_t hash); |
// Mapping of strings by String::Hash to const char* strings. |
+ uint32_t hash_seed_; |
HashMap names_; |
DISALLOW_COPY_AND_ASSIGN(StringsStorage); |
@@ -277,7 +278,7 @@ class CodeMap { |
class CpuProfilesCollection { |
public: |
- CpuProfilesCollection(); |
+ explicit CpuProfilesCollection(Heap* heap); |
~CpuProfilesCollection(); |
bool StartProfiling(const char* title, unsigned uid, bool record_samples); |