| 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 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1708 __ SetStackPointer(csp); | 1708 __ SetStackPointer(csp); |
| 1709 __ PopCalleeSavedRegisters(); | 1709 __ PopCalleeSavedRegisters(); |
| 1710 // After this point, we must not modify jssp because it is a callee-saved | 1710 // After this point, we must not modify jssp because it is a callee-saved |
| 1711 // register which we have just restored. | 1711 // register which we have just restored. |
| 1712 __ Ret(); | 1712 __ Ret(); |
| 1713 } | 1713 } |
| 1714 | 1714 |
| 1715 | 1715 |
| 1716 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { | 1716 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
| 1717 Label miss; | 1717 Label miss; |
| 1718 Register receiver = LoadIC::ReceiverRegister(); | 1718 Register receiver = LoadConvention::ReceiverRegister(); |
| 1719 | 1719 |
| 1720 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, x10, | 1720 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, x10, |
| 1721 x11, &miss); | 1721 x11, &miss); |
| 1722 | 1722 |
| 1723 __ Bind(&miss); | 1723 __ Bind(&miss); |
| 1724 PropertyAccessCompiler::TailCallBuiltin( | 1724 PropertyAccessCompiler::TailCallBuiltin( |
| 1725 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); | 1725 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); |
| 1726 } | 1726 } |
| 1727 | 1727 |
| 1728 | 1728 |
| (...skipping 3694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5423 MemOperand(fp, 6 * kPointerSize), | 5423 MemOperand(fp, 6 * kPointerSize), |
| 5424 NULL); | 5424 NULL); |
| 5425 } | 5425 } |
| 5426 | 5426 |
| 5427 | 5427 |
| 5428 #undef __ | 5428 #undef __ |
| 5429 | 5429 |
| 5430 } } // namespace v8::internal | 5430 } } // namespace v8::internal |
| 5431 | 5431 |
| 5432 #endif // V8_TARGET_ARCH_ARM64 | 5432 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |