Index: src/profile-generator.cc |
=================================================================== |
--- src/profile-generator.cc (revision 10400) |
+++ src/profile-generator.cc (working copy) |
@@ -1231,10 +1231,10 @@ |
entries_sorted_(false) { |
STATIC_ASSERT( |
sizeof(HeapGraphEdge) == |
- SnapshotSizeConstants<sizeof(void*)>::kExpectedHeapGraphEdgeSize); // NOLINT |
+ SnapshotSizeConstants<kPointerSize>::kExpectedHeapGraphEdgeSize); |
STATIC_ASSERT( |
sizeof(HeapEntry) == |
- SnapshotSizeConstants<sizeof(void*)>::kExpectedHeapEntrySize); // NOLINT |
+ SnapshotSizeConstants<kPointerSize>::kExpectedHeapEntrySize); |
for (int i = 0; i < VisitorSynchronization::kNumberOfSyncTags; ++i) { |
gc_subroot_entries_[i] = NULL; |
} |
@@ -2289,7 +2289,7 @@ |
} |
} |
} else if (js_obj->HasDictionaryElements()) { |
- NumberDictionary* dictionary = js_obj->element_dictionary(); |
+ SeededNumberDictionary* dictionary = js_obj->element_dictionary(); |
int length = dictionary->Capacity(); |
for (int i = 0; i < length; ++i) { |
Object* k = dictionary->KeyAt(i); |