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