Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index d6c7640bb48dcebdc6ecafa2384625f19efba1e4..e695eb8eab50b4c0af25fc070068ce97885ffc56 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2620,8 +2620,7 @@ void LCodeGen::DoDeferredStringCharCodeAt(LStringCharCodeAt* instr) { |
__ AbortIfNotSmi(rax); |
} |
__ SmiToInteger32(rax, rax); |
- __ movq(Operand(rsp, Register::ToRspIndexForPushAll(result) * kPointerSize), |
- rax); |
+ __ StoreToSafepointRegisterSlot(result, rax); |
__ PopSafepointRegisters(); |
} |