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

Side by Side Diff: src/mips64/code-stubs-mips64.cc

Issue 2065373003: [ic] LoadICState cleanup. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@cleanup-load-global-ic
Patch Set: Rebasing Created 4 years, 6 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/mips/code-stubs-mips.cc ('k') | src/ppc/code-stubs-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/code-stubs.h" 7 #include "src/code-stubs.h"
8 #include "src/api-arguments.h" 8 #include "src/api-arguments.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 3660 matching lines...) Expand 10 before | Expand all | Expand 10 after
3671 } 3671 }
3672 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); 3672 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE);
3673 __ dsll(a1, a1, kPointerSizeLog2); 3673 __ dsll(a1, a1, kPointerSizeLog2);
3674 __ Ret(USE_DELAY_SLOT); 3674 __ Ret(USE_DELAY_SLOT);
3675 __ Daddu(sp, sp, a1); 3675 __ Daddu(sp, sp, a1);
3676 } 3676 }
3677 3677
3678 3678
3679 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { 3679 void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
3680 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); 3680 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister());
3681 LoadICStub stub(isolate(), state()); 3681 LoadICStub stub(isolate());
3682 stub.GenerateForTrampoline(masm); 3682 stub.GenerateForTrampoline(masm);
3683 } 3683 }
3684 3684
3685 3685
3686 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { 3686 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
3687 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); 3687 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister());
3688 KeyedLoadICStub stub(isolate(), state()); 3688 KeyedLoadICStub stub(isolate());
3689 stub.GenerateForTrampoline(masm); 3689 stub.GenerateForTrampoline(masm);
3690 } 3690 }
3691 3691
3692 3692
3693 void CallICTrampolineStub::Generate(MacroAssembler* masm) { 3693 void CallICTrampolineStub::Generate(MacroAssembler* masm) {
3694 __ EmitLoadTypeFeedbackVector(a2); 3694 __ EmitLoadTypeFeedbackVector(a2);
3695 CallICStub stub(isolate(), state()); 3695 CallICStub stub(isolate(), state());
3696 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 3696 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
3697 } 3697 }
3698 3698
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
5550 kStackUnwindSpace, kInvalidStackOffset, 5550 kStackUnwindSpace, kInvalidStackOffset,
5551 return_value_operand, NULL); 5551 return_value_operand, NULL);
5552 } 5552 }
5553 5553
5554 #undef __ 5554 #undef __
5555 5555
5556 } // namespace internal 5556 } // namespace internal
5557 } // namespace v8 5557 } // namespace v8
5558 5558
5559 #endif // V8_TARGET_ARCH_MIPS64 5559 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/ppc/code-stubs-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698