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