| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ | 5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ | 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 | 10 |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 static const Register ObjectRegister(); | 788 static const Register ObjectRegister(); |
| 789 static const Register KeyRegister(); | 789 static const Register KeyRegister(); |
| 790 }; | 790 }; |
| 791 | 791 |
| 792 class InterpreterDispatchDescriptor : public CallInterfaceDescriptor { | 792 class InterpreterDispatchDescriptor : public CallInterfaceDescriptor { |
| 793 public: | 793 public: |
| 794 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor, | 794 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor, |
| 795 CallInterfaceDescriptor) | 795 CallInterfaceDescriptor) |
| 796 | 796 |
| 797 static const int kAccumulatorParameter = 0; | 797 static const int kAccumulatorParameter = 0; |
| 798 static const int kRegisterFileParameter = 1; | 798 static const int kBytecodeOffsetParameter = 1; |
| 799 static const int kBytecodeOffsetParameter = 2; | 799 static const int kBytecodeArrayParameter = 2; |
| 800 static const int kBytecodeArrayParameter = 3; | 800 static const int kDispatchTableParameter = 3; |
| 801 static const int kDispatchTableParameter = 4; | |
| 802 static const int kContextParameter = 5; | |
| 803 }; | 801 }; |
| 804 | 802 |
| 805 class InterpreterPushArgsAndCallDescriptor : public CallInterfaceDescriptor { | 803 class InterpreterPushArgsAndCallDescriptor : public CallInterfaceDescriptor { |
| 806 public: | 804 public: |
| 807 DECLARE_DESCRIPTOR(InterpreterPushArgsAndCallDescriptor, | 805 DECLARE_DESCRIPTOR(InterpreterPushArgsAndCallDescriptor, |
| 808 CallInterfaceDescriptor) | 806 CallInterfaceDescriptor) |
| 809 }; | 807 }; |
| 810 | 808 |
| 811 | 809 |
| 812 class InterpreterPushArgsAndConstructDescriptor | 810 class InterpreterPushArgsAndConstructDescriptor |
| (...skipping 29 matching lines...) Expand all Loading... |
| 842 } // namespace v8 | 840 } // namespace v8 |
| 843 | 841 |
| 844 | 842 |
| 845 #if V8_TARGET_ARCH_ARM64 | 843 #if V8_TARGET_ARCH_ARM64 |
| 846 #include "src/arm64/interface-descriptors-arm64.h" | 844 #include "src/arm64/interface-descriptors-arm64.h" |
| 847 #elif V8_TARGET_ARCH_ARM | 845 #elif V8_TARGET_ARCH_ARM |
| 848 #include "src/arm/interface-descriptors-arm.h" | 846 #include "src/arm/interface-descriptors-arm.h" |
| 849 #endif | 847 #endif |
| 850 | 848 |
| 851 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 849 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |