Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index ed69fd07686f8d1df9287782fc9f40459744a420..5f760d774838362c368a89b08cde775a53c7568a 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -1464,8 +1464,7 @@ void MacroAssembler::LoadFromNumberDictionary(Label* miss, |
dec(r1); |
// Generate an unrolled loop that performs a few probes before giving up. |
- const int kProbes = 4; |
- for (int i = 0; i < kProbes; i++) { |
+ for (int i = 0; i < kNumberDictionaryProbes; i++) { |
// Use r2 for index calculations and keep the hash intact in r0. |
mov(r2, r0); |
// Compute the masked index: (hash + i + i * i) & mask. |
@@ -1483,7 +1482,7 @@ void MacroAssembler::LoadFromNumberDictionary(Label* miss, |
r2, |
times_pointer_size, |
SeededNumberDictionary::kElementsStartOffset)); |
- if (i != (kProbes - 1)) { |
+ if (i != (kNumberDictionaryProbes - 1)) { |
j(equal, &done); |
} else { |
j(not_equal, miss); |