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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 V(Named) \ | 50 V(Named) \ |
51 V(CallHandler) \ | 51 V(CallHandler) \ |
52 V(ArgumentAdaptor) \ | 52 V(ArgumentAdaptor) \ |
53 V(ApiFunction) \ | 53 V(ApiFunction) \ |
54 V(ApiAccessor) \ | 54 V(ApiAccessor) \ |
55 V(ApiGetter) \ | 55 V(ApiGetter) \ |
56 V(ArgumentsAccessRead) \ | 56 V(ArgumentsAccessRead) \ |
57 V(StoreArrayLiteralElement) \ | 57 V(StoreArrayLiteralElement) \ |
58 V(MathPowTagged) \ | 58 V(MathPowTagged) \ |
59 V(MathPowInteger) \ | 59 V(MathPowInteger) \ |
| 60 V(MathRoundVariant) \ |
60 V(ContextOnly) \ | 61 V(ContextOnly) \ |
61 V(GrowArrayElements) | 62 V(GrowArrayElements) |
62 | 63 |
63 | 64 |
64 class CallInterfaceDescriptorData { | 65 class CallInterfaceDescriptorData { |
65 public: | 66 public: |
66 CallInterfaceDescriptorData() : register_param_count_(-1) {} | 67 CallInterfaceDescriptorData() : register_param_count_(-1) {} |
67 | 68 |
68 // A copy of the passed in registers and param_representations is made | 69 // A copy of the passed in registers and param_representations is made |
69 // and owned by the CallInterfaceDescriptorData. | 70 // and owned by the CallInterfaceDescriptorData. |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 | 515 |
515 | 516 |
516 class MathPowIntegerDescriptor : public CallInterfaceDescriptor { | 517 class MathPowIntegerDescriptor : public CallInterfaceDescriptor { |
517 public: | 518 public: |
518 DECLARE_DESCRIPTOR(MathPowIntegerDescriptor, CallInterfaceDescriptor) | 519 DECLARE_DESCRIPTOR(MathPowIntegerDescriptor, CallInterfaceDescriptor) |
519 | 520 |
520 static const Register exponent(); | 521 static const Register exponent(); |
521 }; | 522 }; |
522 | 523 |
523 | 524 |
| 525 class MathRoundVariantDescriptor : public CallInterfaceDescriptor { |
| 526 public: |
| 527 DECLARE_DESCRIPTOR(MathRoundVariantDescriptor, CallInterfaceDescriptor) |
| 528 }; |
| 529 |
| 530 |
524 class ContextOnlyDescriptor : public CallInterfaceDescriptor { | 531 class ContextOnlyDescriptor : public CallInterfaceDescriptor { |
525 public: | 532 public: |
526 DECLARE_DESCRIPTOR(ContextOnlyDescriptor, CallInterfaceDescriptor) | 533 DECLARE_DESCRIPTOR(ContextOnlyDescriptor, CallInterfaceDescriptor) |
527 }; | 534 }; |
528 | 535 |
529 | 536 |
530 class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { | 537 class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { |
531 public: | 538 public: |
532 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) | 539 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) |
533 | 540 |
(...skipping 16 matching lines...) Expand all Loading... |
550 } // namespace v8::internal | 557 } // namespace v8::internal |
551 | 558 |
552 | 559 |
553 #if V8_TARGET_ARCH_ARM64 | 560 #if V8_TARGET_ARCH_ARM64 |
554 #include "src/arm64/interface-descriptors-arm64.h" | 561 #include "src/arm64/interface-descriptors-arm64.h" |
555 #elif V8_TARGET_ARCH_ARM | 562 #elif V8_TARGET_ARCH_ARM |
556 #include "src/arm/interface-descriptors-arm.h" | 563 #include "src/arm/interface-descriptors-arm.h" |
557 #endif | 564 #endif |
558 | 565 |
559 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 566 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |