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

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

Issue 1695633003: [runtime] Turn ArgumentAccessStub into FastNewSloppyArgumentsStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix MIPS dead code Created 4 years, 10 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
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 class PlatformInterfaceDescriptor; 14 class PlatformInterfaceDescriptor;
15 15
16 #define INTERFACE_DESCRIPTOR_LIST(V) \ 16 #define INTERFACE_DESCRIPTOR_LIST(V) \
17 V(Void) \ 17 V(Void) \
18 V(Load) \ 18 V(Load) \
19 V(Store) \ 19 V(Store) \
20 V(StoreTransition) \ 20 V(StoreTransition) \
21 V(VectorStoreTransition) \ 21 V(VectorStoreTransition) \
22 V(VectorStoreICTrampoline) \ 22 V(VectorStoreICTrampoline) \
23 V(VectorStoreIC) \ 23 V(VectorStoreIC) \
24 V(InstanceOf) \ 24 V(InstanceOf) \
25 V(LoadWithVector) \ 25 V(LoadWithVector) \
26 V(FastNewClosure) \ 26 V(FastNewClosure) \
27 V(FastNewContext) \ 27 V(FastNewContext) \
28 V(FastNewRestParameter) \ 28 V(FastNewRestParameter) \
29 V(FastNewStrictArguments) \ 29 V(FastNewSloppyArguments) \
30 V(FastNewStrictArguments) \
30 V(ToNumber) \ 31 V(ToNumber) \
31 V(ToLength) \ 32 V(ToLength) \
32 V(ToString) \ 33 V(ToString) \
33 V(ToName) \ 34 V(ToName) \
34 V(ToObject) \ 35 V(ToObject) \
35 V(NumberToString) \ 36 V(NumberToString) \
36 V(Typeof) \ 37 V(Typeof) \
37 V(FastCloneRegExp) \ 38 V(FastCloneRegExp) \
38 V(FastCloneShallowArray) \ 39 V(FastCloneShallowArray) \
39 V(FastCloneShallowObject) \ 40 V(FastCloneShallowObject) \
(...skipping 22 matching lines...) Expand all
62 V(BinaryOpWithAllocationSite) \ 63 V(BinaryOpWithAllocationSite) \
63 V(StringAdd) \ 64 V(StringAdd) \
64 V(StringCompare) \ 65 V(StringCompare) \
65 V(Keyed) \ 66 V(Keyed) \
66 V(Named) \ 67 V(Named) \
67 V(CallHandler) \ 68 V(CallHandler) \
68 V(ArgumentAdaptor) \ 69 V(ArgumentAdaptor) \
69 V(ApiFunction) \ 70 V(ApiFunction) \
70 V(ApiAccessor) \ 71 V(ApiAccessor) \
71 V(ApiGetter) \ 72 V(ApiGetter) \
72 V(ArgumentsAccessNew) \
73 V(LoadGlobalViaContext) \ 73 V(LoadGlobalViaContext) \
74 V(StoreGlobalViaContext) \ 74 V(StoreGlobalViaContext) \
75 V(MathPowTagged) \ 75 V(MathPowTagged) \
76 V(MathPowInteger) \ 76 V(MathPowInteger) \
77 V(ContextOnly) \ 77 V(ContextOnly) \
78 V(GrowArrayElements) \ 78 V(GrowArrayElements) \
79 V(InterpreterDispatch) \ 79 V(InterpreterDispatch) \
80 V(InterpreterPushArgsAndCall) \ 80 V(InterpreterPushArgsAndCall) \
81 V(InterpreterPushArgsAndConstruct) \ 81 V(InterpreterPushArgsAndConstruct) \
82 V(InterpreterCEntry) 82 V(InterpreterCEntry)
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 class FastNewContextDescriptor : public CallInterfaceDescriptor { 372 class FastNewContextDescriptor : public CallInterfaceDescriptor {
373 public: 373 public:
374 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) 374 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor)
375 }; 375 };
376 376
377 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { 377 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor {
378 public: 378 public:
379 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) 379 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor)
380 }; 380 };
381 381
382 class FastNewSloppyArgumentsDescriptor : public CallInterfaceDescriptor {
383 public:
384 DECLARE_DESCRIPTOR(FastNewSloppyArgumentsDescriptor,
385 CallInterfaceDescriptor)
386 };
387
382 class FastNewStrictArgumentsDescriptor : public CallInterfaceDescriptor { 388 class FastNewStrictArgumentsDescriptor : public CallInterfaceDescriptor {
383 public: 389 public:
384 DECLARE_DESCRIPTOR(FastNewStrictArgumentsDescriptor, 390 DECLARE_DESCRIPTOR(FastNewStrictArgumentsDescriptor,
385 CallInterfaceDescriptor) 391 CallInterfaceDescriptor)
386 }; 392 };
387 393
388 394
389 class ToNumberDescriptor : public CallInterfaceDescriptor { 395 class ToNumberDescriptor : public CallInterfaceDescriptor {
390 public: 396 public:
391 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) 397 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor)
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 707
702 class ApiGetterDescriptor : public CallInterfaceDescriptor { 708 class ApiGetterDescriptor : public CallInterfaceDescriptor {
703 public: 709 public:
704 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ApiGetterDescriptor, 710 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ApiGetterDescriptor,
705 CallInterfaceDescriptor) 711 CallInterfaceDescriptor)
706 712
707 static const Register function_address(); 713 static const Register function_address();
708 }; 714 };
709 715
710 716
711 class ArgumentsAccessNewDescriptor : public CallInterfaceDescriptor {
712 public:
713 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArgumentsAccessNewDescriptor,
714 CallInterfaceDescriptor)
715
716 static const Register function();
717 static const Register parameter_count();
718 static const Register parameter_pointer();
719 };
720
721
722 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { 717 class MathPowTaggedDescriptor : public CallInterfaceDescriptor {
723 public: 718 public:
724 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) 719 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor)
725 720
726 static const Register exponent(); 721 static const Register exponent();
727 }; 722 };
728 723
729 724
730 class MathPowIntegerDescriptor : public CallInterfaceDescriptor { 725 class MathPowIntegerDescriptor : public CallInterfaceDescriptor {
731 public: 726 public:
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 } // namespace v8 791 } // namespace v8
797 792
798 793
799 #if V8_TARGET_ARCH_ARM64 794 #if V8_TARGET_ARCH_ARM64
800 #include "src/arm64/interface-descriptors-arm64.h" 795 #include "src/arm64/interface-descriptors-arm64.h"
801 #elif V8_TARGET_ARCH_ARM 796 #elif V8_TARGET_ARCH_ARM
802 #include "src/arm/interface-descriptors-arm.h" 797 #include "src/arm/interface-descriptors-arm.h"
803 #endif 798 #endif
804 799
805 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 800 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698