Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 075f07cc353e991fd7969a49725599cb5fcfd45b..902334fe98a028226d3a5b7c4b9ecece66b62140 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3969,8 +3969,7 @@ void MacroAssembler::LoadFromNumberDictionary(Label* miss, |
decl(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. |
movq(r2, r0); |
// Compute the masked index: (hash + i + i * i) & mask. |
@@ -3988,7 +3987,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); |