Reviewers: Jakob,
Message:
PTaQL.
Description:
Fixing bug caused by missing smi-tag.
Please review this at http://codereview.chromium.org/8240007/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/x64/stub-cache-x64.cc
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);
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev