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

Side by Side Diff: src/ic/s390/ic-s390.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/ppc/ic-ppc.cc ('k') | src/ic/x64/ic-x64.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/ic/ic.h" 7 #include "src/ic/ic.h"
8 #include "src/codegen.h" 8 #include "src/codegen.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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 r6, r5); 430 r6, r5);
431 __ Ret(); 431 __ Ret();
432 432
433 __ bind(&index_name); 433 __ bind(&index_name);
434 __ IndexFromHash(r5, key); 434 __ IndexFromHash(r5, key);
435 // Now jump to the place where smi keys are handled. 435 // Now jump to the place where smi keys are handled.
436 __ b(&index_smi); 436 __ b(&index_smi);
437 } 437 }
438 438
439 static void StoreIC_PushArgs(MacroAssembler* masm) { 439 static void StoreIC_PushArgs(MacroAssembler* masm) {
440 __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(), 440 __ Push(StoreWithVectorDescriptor::ValueRegister(),
441 StoreDescriptor::ValueRegister(),
442 StoreWithVectorDescriptor::SlotRegister(), 441 StoreWithVectorDescriptor::SlotRegister(),
443 StoreWithVectorDescriptor::VectorRegister()); 442 StoreWithVectorDescriptor::VectorRegister(),
443 StoreWithVectorDescriptor::ReceiverRegister(),
444 StoreWithVectorDescriptor::NameRegister());
444 } 445 }
445 446
446 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) { 447 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) {
447 StoreIC_PushArgs(masm); 448 StoreIC_PushArgs(masm);
448 449
449 __ TailCallRuntime(Runtime::kKeyedStoreIC_Miss); 450 __ TailCallRuntime(Runtime::kKeyedStoreIC_Miss);
450 } 451 }
451 452
452 void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) { 453 void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) {
453 StoreIC_PushArgs(masm); 454 StoreIC_PushArgs(masm);
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 patcher.masm()->brcl(cc, Operand((branch_instr & 0xffffffff) << 1)); 875 patcher.masm()->brcl(cc, Operand((branch_instr & 0xffffffff) << 1));
875 } else { 876 } else {
876 DCHECK(false); 877 DCHECK(false);
877 } 878 }
878 } 879 }
879 880
880 } // namespace internal 881 } // namespace internal
881 } // namespace v8 882 } // namespace v8
882 883
883 #endif // V8_TARGET_ARCH_S390 884 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/ic/ppc/ic-ppc.cc ('k') | src/ic/x64/ic-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698