Index: src/ia32/macro-assembler-ia32.cc |
=================================================================== |
--- src/ia32/macro-assembler-ia32.cc (revision 10400) |
+++ src/ia32/macro-assembler-ia32.cc (working copy) |
@@ -1064,7 +1064,7 @@ |
GetNumberHash(r0, r1); |
// Compute capacity mask. |
- mov(r1, FieldOperand(elements, NumberDictionary::kCapacityOffset)); |
+ mov(r1, FieldOperand(elements, SeededNumberDictionary::kCapacityOffset)); |
shr(r1, kSmiTagSize); // convert smi to int |
dec(r1); |
@@ -1075,19 +1075,19 @@ |
mov(r2, r0); |
// Compute the masked index: (hash + i + i * i) & mask. |
if (i > 0) { |
- add(r2, Immediate(NumberDictionary::GetProbeOffset(i))); |
+ add(r2, Immediate(SeededNumberDictionary::GetProbeOffset(i))); |
} |
and_(r2, r1); |
// Scale the index by multiplying by the entry size. |
- ASSERT(NumberDictionary::kEntrySize == 3); |
+ ASSERT(SeededNumberDictionary::kEntrySize == 3); |
lea(r2, Operand(r2, r2, times_2, 0)); // r2 = r2 * 3 |
// Check if the key matches. |
cmp(key, FieldOperand(elements, |
r2, |
times_pointer_size, |
- NumberDictionary::kElementsStartOffset)); |
+ SeededNumberDictionary::kElementsStartOffset)); |
if (i != (kProbes - 1)) { |
j(equal, &done); |
} else { |
@@ -1098,7 +1098,7 @@ |
bind(&done); |
// Check that the value is a normal propety. |
const int kDetailsOffset = |
- NumberDictionary::kElementsStartOffset + 2 * kPointerSize; |
+ SeededNumberDictionary::kElementsStartOffset + 2 * kPointerSize; |
ASSERT_EQ(NORMAL, 0); |
test(FieldOperand(elements, r2, times_pointer_size, kDetailsOffset), |
Immediate(PropertyDetails::TypeField::kMask << kSmiTagSize)); |
@@ -1106,7 +1106,7 @@ |
// Get the value at the masked, scaled index. |
const int kValueOffset = |
- NumberDictionary::kElementsStartOffset + kPointerSize; |
+ SeededNumberDictionary::kElementsStartOffset + kPointerSize; |
mov(result, FieldOperand(elements, r2, times_pointer_size, kValueOffset)); |
} |