Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 103b8df37618a5a3d90d00b558647b22aec25793..c4b2672f6065d45569d2e534ee92ca5445b2c786 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -3799,6 +3799,8 @@ void KeyedStoreStubCompiler::GenerateStoreFastDoubleElement( |
__ jmp(ic_force_generic, RelocInfo::CODE_TARGET); |
__ bind(&transition_elements_kind); |
+ // Restore smi-tagging of rcx. |
+ __ Integer32ToSmi(rcx, rcx); |
Handle<Code> ic_miss = masm->isolate()->builtins()->KeyedStoreIC_Miss(); |
__ jmp(ic_miss, RelocInfo::CODE_TARGET); |
} |