OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |