Chromium Code Reviews| Index: runtime/vm/pages.h |
| diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h |
| index 6b6e8fb845cbe7af54c2c1dda34a0457d53b5706..bb929c7f2417de2509b6cffc106d72a299aca1b7 100644 |
| --- a/runtime/vm/pages.h |
| +++ b/runtime/vm/pages.h |
| @@ -84,15 +84,15 @@ class PageSpaceGarbageCollectionHistory { |
| PageSpaceGarbageCollectionHistory(); |
| ~PageSpaceGarbageCollectionHistory() {} |
| - void AddGarbageCollectionTime(uint64_t start, uint64_t end); |
| + void AddGarbageCollectionTime(int64_t start, int64_t end); |
| int GarbageCollectionTimeFraction(); |
| private: |
| - static const uint32_t kHistoryLength = 4; |
| - uint64_t start_[kHistoryLength]; |
| - uint64_t end_[kHistoryLength]; |
| - uint32_t index_; |
| + static const intptr_t kHistoryLength = 4; |
| + int64_t start_[kHistoryLength]; |
| + int64_t end_[kHistoryLength]; |
| + int64_t index_; |
|
Ivan Posva
2012/06/22 20:50:37
int or intptr_t? It should match whatever we use f
cshapiro
2012/06/22 21:17:27
Switched to an inptr_t. Done.
|
| DISALLOW_ALLOCATION(); |
| DISALLOW_COPY_AND_ASSIGN(PageSpaceGarbageCollectionHistory); |