OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
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 4584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4595 } | 4595 } |
4596 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); | 4596 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); |
4597 __ Drop(x1); | 4597 __ Drop(x1); |
4598 // Return to IC Miss stub, continuation still on stack. | 4598 // Return to IC Miss stub, continuation still on stack. |
4599 __ Ret(); | 4599 __ Ret(); |
4600 } | 4600 } |
4601 | 4601 |
4602 | 4602 |
4603 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { | 4603 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
4604 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); | 4604 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
4605 VectorLoadStub stub(isolate(), state_); | 4605 VectorLoadStub stub(isolate(), state()); |
4606 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); | 4606 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
4607 } | 4607 } |
4608 | 4608 |
4609 | 4609 |
4610 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { | 4610 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { |
4611 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); | 4611 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
4612 VectorKeyedLoadStub stub(isolate()); | 4612 VectorKeyedLoadStub stub(isolate()); |
4613 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); | 4613 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
4614 } | 4614 } |
4615 | 4615 |
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5437 MemOperand(fp, 6 * kPointerSize), | 5437 MemOperand(fp, 6 * kPointerSize), |
5438 NULL); | 5438 NULL); |
5439 } | 5439 } |
5440 | 5440 |
5441 | 5441 |
5442 #undef __ | 5442 #undef __ |
5443 | 5443 |
5444 } } // namespace v8::internal | 5444 } } // namespace v8::internal |
5445 | 5445 |
5446 #endif // V8_TARGET_ARCH_ARM64 | 5446 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |