| 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 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 4424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4435 __ PopReturnAddressTo(rcx); | 4435 __ PopReturnAddressTo(rcx); |
| 4436 int additional_offset = | 4436 int additional_offset = |
| 4437 function_mode() == JS_FUNCTION_STUB_MODE ? kPointerSize : 0; | 4437 function_mode() == JS_FUNCTION_STUB_MODE ? kPointerSize : 0; |
| 4438 __ leap(rsp, MemOperand(rsp, rbx, times_pointer_size, additional_offset)); | 4438 __ leap(rsp, MemOperand(rsp, rbx, times_pointer_size, additional_offset)); |
| 4439 __ jmp(rcx); // Return to IC Miss stub, continuation still on stack. | 4439 __ jmp(rcx); // Return to IC Miss stub, continuation still on stack. |
| 4440 } | 4440 } |
| 4441 | 4441 |
| 4442 | 4442 |
| 4443 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { | 4443 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
| 4444 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); | 4444 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
| 4445 VectorLoadStub stub(isolate(), state_); | 4445 VectorLoadStub stub(isolate(), state()); |
| 4446 __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); | 4446 __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); |
| 4447 } | 4447 } |
| 4448 | 4448 |
| 4449 | 4449 |
| 4450 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { | 4450 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { |
| 4451 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); | 4451 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
| 4452 VectorKeyedLoadStub stub(isolate()); | 4452 VectorKeyedLoadStub stub(isolate()); |
| 4453 __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); | 4453 __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); |
| 4454 } | 4454 } |
| 4455 | 4455 |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4989 return_value_operand, | 4989 return_value_operand, |
| 4990 NULL); | 4990 NULL); |
| 4991 } | 4991 } |
| 4992 | 4992 |
| 4993 | 4993 |
| 4994 #undef __ | 4994 #undef __ |
| 4995 | 4995 |
| 4996 } } // namespace v8::internal | 4996 } } // namespace v8::internal |
| 4997 | 4997 |
| 4998 #endif // V8_TARGET_ARCH_X64 | 4998 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |