diff options
author | Kristian Monsen <kristianm@google.com> | 2010-09-30 15:31:59 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2010-10-06 14:06:50 +0100 |
commit | 0d5e116f6aee03185f237311a943491bb079a768 (patch) | |
tree | e0a80472bc3151e606a32e8d68079579c8143495 /src/hashmap.h | |
parent | 59151504615d929945dc59db37bf1166937748c6 (diff) | |
download | android_external_v8-0d5e116f6aee03185f237311a943491bb079a768.tar.gz android_external_v8-0d5e116f6aee03185f237311a943491bb079a768.tar.bz2 android_external_v8-0d5e116f6aee03185f237311a943491bb079a768.zip |
update V8 to r5532 as required by WebKit r68651
Change-Id: I5f75eeffbf64b30dd5080348528d277f293490ad
Diffstat (limited to 'src/hashmap.h')
-rw-r--r-- | src/hashmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hashmap.h b/src/hashmap.h index b92c7157..3b947beb 100644 --- a/src/hashmap.h +++ b/src/hashmap.h @@ -83,12 +83,12 @@ class HashMap { void Clear(); // The number of (non-empty) entries in the table. - uint32_t occupancy() const { return occupancy_; } + uint32_t occupancy() const { return occupancy_; } // The capacity of the table. The implementation // makes sure that occupancy is at most 80% of // the table capacity. - uint32_t capacity() const { return capacity_; } + uint32_t capacity() const { return capacity_; } // Iteration // @@ -108,7 +108,7 @@ class HashMap { uint32_t capacity_; uint32_t occupancy_; - Entry* map_end() const { return map_ + capacity_; } + Entry* map_end() const { return map_ + capacity_; } Entry* Probe(void* key, uint32_t hash); void Initialize(uint32_t capacity); void Resize(); |