Index: src/profile-generator.h |
diff --git a/src/profile-generator.h b/src/profile-generator.h |
index e7a41cbfe9b8f9c211f7d4ceacc06a089b540bc9..a31dcda8be9f650bb8088dcd760c319218c120c9 100644 |
--- a/src/profile-generator.h |
+++ b/src/profile-generator.h |
@@ -577,16 +577,16 @@ class HeapEntry BASE_EMBEDDED { |
int retainer_index); |
void SetUnidirElementReference(int child_index, int index, HeapEntry* entry); |
- int EntrySize() { return EntriesSize(1, children_count_, retainers_count_); } |
+ size_t EntrySize() { return EntriesSize(1, children_count_, retainers_count_); } |
mnaganov (inactive)
2012/03/11 14:43:57
nit: 80 chars
|
void Print( |
const char* prefix, const char* edge_name, int max_depth, int indent); |
Handle<HeapObject> GetHeapObject(); |
- static int EntriesSize(int entries_count, |
- int children_count, |
- int retainers_count); |
+ static size_t EntriesSize(int entries_count, |
+ int children_count, |
+ int retainers_count); |
private: |
HeapGraphEdge* children_arr() { |
@@ -647,7 +647,7 @@ class HeapSnapshot { |
HeapEntry* natives_root() { return natives_root_entry_; } |
HeapEntry* gc_subroot(int index) { return gc_subroot_entries_[index]; } |
List<HeapEntry*>* entries() { return &entries_; } |
- int raw_entries_size() { return raw_entries_size_; } |
+ size_t raw_entries_size() { return raw_entries_size_; } |
void AllocateEntries( |
int entries_count, int children_count, int retainers_count); |
@@ -687,7 +687,7 @@ class HeapSnapshot { |
char* raw_entries_; |
List<HeapEntry*> entries_; |
bool entries_sorted_; |
- int raw_entries_size_; |
+ size_t raw_entries_size_; |
friend class HeapSnapshotTester; |