Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/interface-descriptors.h

Issue 2024253002: [stubs] Remove N-argument Hydrogen-based Array constructor stub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm64 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
51 V(AllocateUint32x4) \ 51 V(AllocateUint32x4) \
52 V(AllocateBool32x4) \ 52 V(AllocateBool32x4) \
53 V(AllocateInt16x8) \ 53 V(AllocateInt16x8) \
54 V(AllocateUint16x8) \ 54 V(AllocateUint16x8) \
55 V(AllocateBool16x8) \ 55 V(AllocateBool16x8) \
56 V(AllocateInt8x16) \ 56 V(AllocateInt8x16) \
57 V(AllocateUint8x16) \ 57 V(AllocateUint8x16) \
58 V(AllocateBool8x16) \ 58 V(AllocateBool8x16) \
59 V(ArrayNoArgumentConstructor) \ 59 V(ArrayNoArgumentConstructor) \
60 V(ArraySingleArgumentConstructor) \ 60 V(ArraySingleArgumentConstructor) \
61 V(ArrayConstructor) \ 61 V(ArrayNArgumentsConstructor) \
62 V(InternalArrayConstructor) \
63 V(Compare) \ 62 V(Compare) \
64 V(BinaryOp) \ 63 V(BinaryOp) \
65 V(BinaryOpWithAllocationSite) \ 64 V(BinaryOpWithAllocationSite) \
66 V(CountOp) \ 65 V(CountOp) \
67 V(StringAdd) \ 66 V(StringAdd) \
68 V(StringCompare) \ 67 V(StringCompare) \
69 V(Keyed) \ 68 V(Keyed) \
70 V(Named) \ 69 V(Named) \
71 V(HasProperty) \ 70 V(HasProperty) \
72 V(CallHandler) \ 71 V(CallHandler) \
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 }; 596 };
598 597
599 class ArraySingleArgumentConstructorDescriptor 598 class ArraySingleArgumentConstructorDescriptor
600 : public CallInterfaceDescriptor { 599 : public CallInterfaceDescriptor {
601 public: 600 public:
602 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( 601 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
603 ArraySingleArgumentConstructorDescriptor, CallInterfaceDescriptor) 602 ArraySingleArgumentConstructorDescriptor, CallInterfaceDescriptor)
604 enum ParameterIndices { 603 enum ParameterIndices {
605 kFunctionIndex, 604 kFunctionIndex,
606 kAllocationSiteIndex, 605 kAllocationSiteIndex,
607 kArgumentsCountIndex, 606 kArgumentCountIndex,
608 kFunctionParameterIndex, 607 kFunctionParameterIndex,
609 kArraySizeSmiParameterIndex, 608 kArraySizeSmiParameterIndex,
610 kContextIndex 609 kContextIndex
611 }; 610 };
612 }; 611 };
613 612
614 class ArrayConstructorDescriptor : public CallInterfaceDescriptor { 613 class ArrayNArgumentsConstructorDescriptor : public CallInterfaceDescriptor {
615 public: 614 public:
616 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArrayConstructorDescriptor, 615 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
617 CallInterfaceDescriptor) 616 ArrayNArgumentsConstructorDescriptor, CallInterfaceDescriptor)
617 enum ParameterIndices {
618 kFunctionIndex,
619 kAllocationSiteIndex,
620 kArgumentCountIndex,
621 kContextIndex
622 };
618 }; 623 };
619 624
620 625
621 class InternalArrayConstructorDescriptor : public CallInterfaceDescriptor {
622 public:
623 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
624 InternalArrayConstructorDescriptor, CallInterfaceDescriptor)
625 };
626
627
628 class CompareDescriptor : public CallInterfaceDescriptor { 626 class CompareDescriptor : public CallInterfaceDescriptor {
629 public: 627 public:
630 DECLARE_DESCRIPTOR(CompareDescriptor, CallInterfaceDescriptor) 628 DECLARE_DESCRIPTOR(CompareDescriptor, CallInterfaceDescriptor)
631 }; 629 };
632 630
633 631
634 class BinaryOpDescriptor : public CallInterfaceDescriptor { 632 class BinaryOpDescriptor : public CallInterfaceDescriptor {
635 public: 633 public:
636 DECLARE_DESCRIPTOR(BinaryOpDescriptor, CallInterfaceDescriptor) 634 DECLARE_DESCRIPTOR(BinaryOpDescriptor, CallInterfaceDescriptor)
637 }; 635 };
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 } // namespace v8 855 } // namespace v8
858 856
859 857
860 #if V8_TARGET_ARCH_ARM64 858 #if V8_TARGET_ARCH_ARM64
861 #include "src/arm64/interface-descriptors-arm64.h" 859 #include "src/arm64/interface-descriptors-arm64.h"
862 #elif V8_TARGET_ARCH_ARM 860 #elif V8_TARGET_ARCH_ARM
863 #include "src/arm/interface-descriptors-arm.h" 861 #include "src/arm/interface-descriptors-arm.h"
864 #endif 862 #endif
865 863
866 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 864 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698