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

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

Issue 503393002: MIPS: Minor-key-ify new LoadICTrampolineStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4818 matching lines...) Expand 10 before | Expand all | Expand 10 after
4829 } 4829 }
4830 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); 4830 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE);
4831 __ dsll(a1, a1, kPointerSizeLog2); 4831 __ dsll(a1, a1, kPointerSizeLog2);
4832 __ Ret(USE_DELAY_SLOT); 4832 __ Ret(USE_DELAY_SLOT);
4833 __ Daddu(sp, sp, a1); 4833 __ Daddu(sp, sp, a1);
4834 } 4834 }
4835 4835
4836 4836
4837 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { 4837 void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
4838 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); 4838 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
4839 VectorLoadStub stub(isolate(), state_); 4839 VectorLoadStub stub(isolate(), state());
4840 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4840 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4841 } 4841 }
4842 4842
4843 4843
4844 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { 4844 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
4845 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); 4845 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
4846 VectorKeyedLoadStub stub(isolate()); 4846 VectorKeyedLoadStub stub(isolate());
4847 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4847 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4848 } 4848 }
4849 4849
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
5337 MemOperand(fp, 6 * kPointerSize), 5337 MemOperand(fp, 6 * kPointerSize),
5338 NULL); 5338 NULL);
5339 } 5339 }
5340 5340
5341 5341
5342 #undef __ 5342 #undef __
5343 5343
5344 } } // namespace v8::internal 5344 } } // namespace v8::internal
5345 5345
5346 #endif // V8_TARGET_ARCH_MIPS64 5346 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698