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

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

Issue 2573573004: [stubs] Enable graph verification for builtins. (Closed)
Patch Set: Created 4 years 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 <memory> 8 #include <memory>
9 9
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ 608 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
609 class Allocate##Type##Descriptor : public CallInterfaceDescriptor { \ 609 class Allocate##Type##Descriptor : public CallInterfaceDescriptor { \
610 public: \ 610 public: \
611 DECLARE_DESCRIPTOR(Allocate##Type##Descriptor, CallInterfaceDescriptor) \ 611 DECLARE_DESCRIPTOR(Allocate##Type##Descriptor, CallInterfaceDescriptor) \
612 }; 612 };
613 SIMD128_TYPES(SIMD128_ALLOC_DESC) 613 SIMD128_TYPES(SIMD128_ALLOC_DESC)
614 #undef SIMD128_ALLOC_DESC 614 #undef SIMD128_ALLOC_DESC
615 615
616 class BuiltinDescriptor : public CallInterfaceDescriptor { 616 class BuiltinDescriptor : public CallInterfaceDescriptor {
617 public: 617 public:
618 // TODO(ishell): Where is kFunction??
618 DEFINE_PARAMETERS(kNewTarget, kArgumentsCount) 619 DEFINE_PARAMETERS(kNewTarget, kArgumentsCount)
619 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(BuiltinDescriptor, 620 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(BuiltinDescriptor,
620 CallInterfaceDescriptor) 621 CallInterfaceDescriptor)
621 static const Register ArgumentsCountRegister(); 622 static const Register ArgumentsCountRegister();
622 static const Register NewTargetRegister(); 623 static const Register NewTargetRegister();
623 static const Register TargetRegister(); 624 static const Register TargetRegister();
624 }; 625 };
625 626
626 class ArrayNoArgumentConstructorDescriptor : public CallInterfaceDescriptor { 627 class ArrayNoArgumentConstructorDescriptor : public CallInterfaceDescriptor {
627 public: 628 public:
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 } // namespace v8 852 } // namespace v8
852 853
853 854
854 #if V8_TARGET_ARCH_ARM64 855 #if V8_TARGET_ARCH_ARM64
855 #include "src/arm64/interface-descriptors-arm64.h" 856 #include "src/arm64/interface-descriptors-arm64.h"
856 #elif V8_TARGET_ARCH_ARM 857 #elif V8_TARGET_ARCH_ARM
857 #include "src/arm/interface-descriptors-arm.h" 858 #include "src/arm/interface-descriptors-arm.h"
858 #endif 859 #endif
859 860
860 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 861 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698