| Index: src/x64/ic-x64.cc
|
| diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc
|
| index c398723ab1927fa52a15f856867acdff1fa91f06..5b4b177e243e83d718d549cf7438d641b889f834 100644
|
| --- a/src/x64/ic-x64.cc
|
| +++ b/src/x64/ic-x64.cc
|
| @@ -1607,11 +1607,17 @@ void KeyedStoreIC::GenerateTransitionElementsSmiToDouble(MacroAssembler* masm) {
|
| // -- rsp[0] : return address
|
| // -----------------------------------
|
| // Must return the modified receiver in eax.
|
| + if (!FLAG_trace_elements_transitions) {
|
| + Label fail;
|
| + ElementsTransitionGenerator::GenerateSmiOnlyToDouble(masm, &fail);
|
| + __ movq(rax, rdx);
|
| + __ Ret();
|
| + __ bind(&fail);
|
| + }
|
|
|
| __ pop(rbx);
|
| __ push(rdx);
|
| __ push(rbx); // return address
|
| -
|
| __ TailCallRuntime(Runtime::kTransitionElementsSmiToDouble, 1, 1);
|
| }
|
|
|
| @@ -1623,11 +1629,17 @@ void KeyedStoreIC::GenerateTransitionElementsDoubleToObject(
|
| // -- rsp[0] : return address
|
| // -----------------------------------
|
| // Must return the modified receiver in eax.
|
| + if (!FLAG_trace_elements_transitions) {
|
| + Label fail;
|
| + ElementsTransitionGenerator::GenerateDoubleToObject(masm, &fail);
|
| + __ movq(rax, rdx);
|
| + __ Ret();
|
| + __ bind(&fail);
|
| + }
|
|
|
| __ pop(rbx);
|
| __ push(rdx);
|
| __ push(rbx); // return address
|
| -
|
| __ TailCallRuntime(Runtime::kTransitionElementsDoubleToObject, 1, 1);
|
| }
|
|
|
|
|