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