Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: src/ic/mips64/ic-mips64.cc

Issue 2351643005: [ic] Reorder parameters of StoreIC_Miss and KeyedStoreIC_Miss runtime functions. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ic/mips/ic-mips.cc ('k') | src/ic/ppc/ic-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 #include "src/ic/ic-compiler.h" 9 #include "src/ic/ic-compiler.h"
10 #include "src/ic/stub-cache.h" 10 #include "src/ic/stub-cache.h"
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 &fast_double_grow, &slow, kDontCheckMap, 707 &fast_double_grow, &slow, kDontCheckMap,
708 kIncrementLength, value, key, receiver, 708 kIncrementLength, value, key, receiver,
709 receiver_map, elements_map, elements); 709 receiver_map, elements_map, elements);
710 710
711 __ bind(&miss); 711 __ bind(&miss);
712 GenerateMiss(masm); 712 GenerateMiss(masm);
713 } 713 }
714 714
715 715
716 static void StoreIC_PushArgs(MacroAssembler* masm) { 716 static void StoreIC_PushArgs(MacroAssembler* masm) {
717 __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(), 717 __ Push(StoreWithVectorDescriptor::ValueRegister(),
718 StoreDescriptor::ValueRegister(),
719 StoreWithVectorDescriptor::SlotRegister(), 718 StoreWithVectorDescriptor::SlotRegister(),
720 StoreWithVectorDescriptor::VectorRegister()); 719 StoreWithVectorDescriptor::VectorRegister(),
720 StoreWithVectorDescriptor::ReceiverRegister(),
721 StoreWithVectorDescriptor::NameRegister());
721 } 722 }
722 723
723 724
724 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) { 725 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) {
725 StoreIC_PushArgs(masm); 726 StoreIC_PushArgs(masm);
726 727
727 __ TailCallRuntime(Runtime::kKeyedStoreIC_Miss); 728 __ TailCallRuntime(Runtime::kKeyedStoreIC_Miss);
728 } 729 }
729 730
730 void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) { 731 void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) {
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 break; 890 break;
890 default: 891 default:
891 UNIMPLEMENTED(); 892 UNIMPLEMENTED();
892 } 893 }
893 patcher.ChangeBranchCondition(branch_instr, opcode); 894 patcher.ChangeBranchCondition(branch_instr, opcode);
894 } 895 }
895 } // namespace internal 896 } // namespace internal
896 } // namespace v8 897 } // namespace v8
897 898
898 #endif // V8_TARGET_ARCH_MIPS64 899 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/ic/mips/ic-mips.cc ('k') | src/ic/ppc/ic-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698