| 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 #if V8_TARGET_ARCH_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
| 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 3424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3435 } | 3435 } |
| 3436 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); | 3436 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); |
| 3437 __ Drop(x1); | 3437 __ Drop(x1); |
| 3438 // Return to IC Miss stub, continuation still on stack. | 3438 // Return to IC Miss stub, continuation still on stack. |
| 3439 __ Ret(); | 3439 __ Ret(); |
| 3440 } | 3440 } |
| 3441 | 3441 |
| 3442 | 3442 |
| 3443 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { | 3443 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
| 3444 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); | 3444 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); |
| 3445 LoadICStub stub(isolate(), state()); | 3445 LoadICStub stub(isolate()); |
| 3446 stub.GenerateForTrampoline(masm); | 3446 stub.GenerateForTrampoline(masm); |
| 3447 } | 3447 } |
| 3448 | 3448 |
| 3449 | 3449 |
| 3450 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { | 3450 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { |
| 3451 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); | 3451 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); |
| 3452 KeyedLoadICStub stub(isolate(), state()); | 3452 KeyedLoadICStub stub(isolate()); |
| 3453 stub.GenerateForTrampoline(masm); | 3453 stub.GenerateForTrampoline(masm); |
| 3454 } | 3454 } |
| 3455 | 3455 |
| 3456 | 3456 |
| 3457 void CallICTrampolineStub::Generate(MacroAssembler* masm) { | 3457 void CallICTrampolineStub::Generate(MacroAssembler* masm) { |
| 3458 __ EmitLoadTypeFeedbackVector(x2); | 3458 __ EmitLoadTypeFeedbackVector(x2); |
| 3459 CallICStub stub(isolate(), state()); | 3459 CallICStub stub(isolate(), state()); |
| 3460 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); | 3460 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
| 3461 } | 3461 } |
| 3462 | 3462 |
| (...skipping 2257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5720 kStackUnwindSpace, NULL, spill_offset, | 5720 kStackUnwindSpace, NULL, spill_offset, |
| 5721 return_value_operand, NULL); | 5721 return_value_operand, NULL); |
| 5722 } | 5722 } |
| 5723 | 5723 |
| 5724 #undef __ | 5724 #undef __ |
| 5725 | 5725 |
| 5726 } // namespace internal | 5726 } // namespace internal |
| 5727 } // namespace v8 | 5727 } // namespace v8 |
| 5728 | 5728 |
| 5729 #endif // V8_TARGET_ARCH_ARM64 | 5729 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |