Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 1816abe294fd0921409b2a1138167b686b934d72..5ac7ba8c82c36baff78aa5cc382a3995378f2e3b 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -2950,7 +2950,8 @@ void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf( |
// rcx: valid entries in the descriptor array. |
// Calculate the end of the descriptor array. |
__ imulp(rcx, rcx, Immediate(DescriptorArray::kDescriptorSize)); |
- __ leap(rcx, Operand(r8, rcx, times_8, DescriptorArray::kFirstOffset)); |
+ __ leap(rcx, |
+ Operand(r8, rcx, times_pointer_size, DescriptorArray::kFirstOffset)); |
// Calculate location of the first key name. |
__ addp(r8, Immediate(DescriptorArray::kFirstOffset)); |
// Loop through all the keys in the descriptor array. If one of these is the |