Added two spaces to make presubmit.py happy.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2487 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
e0047e4331
commit
78ffa1df4d
@ -6594,7 +6594,7 @@ uint32_t HashTable<Shape, Key>::FindInsertionEntry(uint32_t hash) {
|
|||||||
do {
|
do {
|
||||||
entry = ++hash & mask;
|
entry = ++hash & mask;
|
||||||
element = KeyAt(entry);
|
element = KeyAt(entry);
|
||||||
} while(!(element->IsUndefined() || element->IsNull()));
|
} while (!(element->IsUndefined() || element->IsNull()));
|
||||||
|
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
@ -7033,7 +7033,7 @@ class SymbolsKey : public HashTableKey {
|
|||||||
uint32_t HashForObject(Object* obj) {
|
uint32_t HashForObject(Object* obj) {
|
||||||
FixedArray* symbols = FixedArray::cast(obj);
|
FixedArray* symbols = FixedArray::cast(obj);
|
||||||
int len = symbols->length();
|
int len = symbols->length();
|
||||||
uint32_t hash = 40617523; // In case the array is empty.
|
uint32_t hash = 40617523; // In case the array is empty.
|
||||||
for (int i = 0; i < len; i++) {
|
for (int i = 0; i < len; i++) {
|
||||||
hash ^= String::cast(symbols->get(i))->Hash();
|
hash ^= String::cast(symbols->get(i))->Hash();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user