Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index f338668a0befa0fa5171963123d4ffa7c9baae77..b72f12fa141a5a6b3a975453abd40727d26a2ba0 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -496,7 +496,7 @@ void StringCharLoadGenerator::Generate(MacroAssembler* masm, |
// Handle slices. |
Label indirect_string_loaded; |
__ SmiToInteger32(result, FieldOperand(string, SlicedString::kOffsetOffset)); |
- __ addq(index, result); |
+ __ addp(index, result); |
__ movp(string, FieldOperand(string, SlicedString::kParentOffset)); |
__ jmp(&indirect_string_loaded, Label::kNear); |