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 29 matching lines...) Expand all Loading... |
40 V(InternalArrayConstructor) \ | 40 V(InternalArrayConstructor) \ |
41 V(CompareNil) \ | 41 V(CompareNil) \ |
42 V(ToBoolean) \ | 42 V(ToBoolean) \ |
43 V(BinaryOp) \ | 43 V(BinaryOp) \ |
44 V(BinaryOpWithAllocationSite) \ | 44 V(BinaryOpWithAllocationSite) \ |
45 V(StringAdd) \ | 45 V(StringAdd) \ |
46 V(Keyed) \ | 46 V(Keyed) \ |
47 V(Named) \ | 47 V(Named) \ |
48 V(CallHandler) \ | 48 V(CallHandler) \ |
49 V(ArgumentAdaptor) \ | 49 V(ArgumentAdaptor) \ |
| 50 V(ApiFunction) \ |
| 51 V(ApiAccessor) \ |
50 V(ApiGetter) \ | 52 V(ApiGetter) \ |
51 V(ApiFunction) \ | |
52 V(ArgumentsAccessRead) \ | 53 V(ArgumentsAccessRead) \ |
53 V(StoreArrayLiteralElement) \ | 54 V(StoreArrayLiteralElement) \ |
54 V(MathPowTagged) \ | 55 V(MathPowTagged) \ |
55 V(MathPowInteger) \ | 56 V(MathPowInteger) \ |
56 V(ContextOnly) | 57 V(ContextOnly) |
57 | 58 |
58 | 59 |
59 class CallInterfaceDescriptorData { | 60 class CallInterfaceDescriptorData { |
60 public: | 61 public: |
61 CallInterfaceDescriptorData() : register_param_count_(-1) {} | 62 CallInterfaceDescriptorData() : register_param_count_(-1) {} |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 DECLARE_DESCRIPTOR(ArgumentAdaptorDescriptor, CallInterfaceDescriptor) | 437 DECLARE_DESCRIPTOR(ArgumentAdaptorDescriptor, CallInterfaceDescriptor) |
437 }; | 438 }; |
438 | 439 |
439 | 440 |
440 class ApiFunctionDescriptor : public CallInterfaceDescriptor { | 441 class ApiFunctionDescriptor : public CallInterfaceDescriptor { |
441 public: | 442 public: |
442 DECLARE_DESCRIPTOR(ApiFunctionDescriptor, CallInterfaceDescriptor) | 443 DECLARE_DESCRIPTOR(ApiFunctionDescriptor, CallInterfaceDescriptor) |
443 }; | 444 }; |
444 | 445 |
445 | 446 |
| 447 class ApiAccessorDescriptor : public CallInterfaceDescriptor { |
| 448 public: |
| 449 DECLARE_DESCRIPTOR(ApiAccessorDescriptor, CallInterfaceDescriptor) |
| 450 }; |
| 451 |
| 452 |
446 class ApiGetterDescriptor : public CallInterfaceDescriptor { | 453 class ApiGetterDescriptor : public CallInterfaceDescriptor { |
447 public: | 454 public: |
448 DECLARE_DESCRIPTOR(ApiGetterDescriptor, CallInterfaceDescriptor) | 455 DECLARE_DESCRIPTOR(ApiGetterDescriptor, CallInterfaceDescriptor) |
449 | 456 |
450 static const Register function_address(); | 457 static const Register function_address(); |
451 }; | 458 }; |
452 | 459 |
453 | 460 |
454 class ArgumentsAccessReadDescriptor : public CallInterfaceDescriptor { | 461 class ArgumentsAccessReadDescriptor : public CallInterfaceDescriptor { |
455 public: | 462 public: |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 } // namespace v8::internal | 508 } // namespace v8::internal |
502 | 509 |
503 | 510 |
504 #if V8_TARGET_ARCH_ARM64 | 511 #if V8_TARGET_ARCH_ARM64 |
505 #include "src/arm64/interface-descriptors-arm64.h" | 512 #include "src/arm64/interface-descriptors-arm64.h" |
506 #elif V8_TARGET_ARCH_ARM | 513 #elif V8_TARGET_ARCH_ARM |
507 #include "src/arm/interface-descriptors-arm.h" | 514 #include "src/arm/interface-descriptors-arm.h" |
508 #endif | 515 #endif |
509 | 516 |
510 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 517 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |