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

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

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Review feedback Created 3 years, 7 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 <memory> 8 #include <memory>
9 9
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 17 matching lines...) Expand all
28 V(Store) \ 28 V(Store) \
29 V(StoreWithVector) \ 29 V(StoreWithVector) \
30 V(StoreNamedTransition) \ 30 V(StoreNamedTransition) \
31 V(StoreTransition) \ 31 V(StoreTransition) \
32 V(VarArgFunction) \ 32 V(VarArgFunction) \
33 V(FastNewClosure) \ 33 V(FastNewClosure) \
34 V(FastNewFunctionContext) \ 34 V(FastNewFunctionContext) \
35 V(FastNewObject) \ 35 V(FastNewObject) \
36 V(FastNewArguments) \ 36 V(FastNewArguments) \
37 V(TypeConversion) \ 37 V(TypeConversion) \
38 V(TypeConversionStackParameter) \
38 V(Typeof) \ 39 V(Typeof) \
39 V(FastCloneRegExp) \ 40 V(FastCloneRegExp) \
40 V(FastCloneShallowArray) \ 41 V(FastCloneShallowArray) \
41 V(FastCloneShallowObject) \ 42 V(FastCloneShallowObject) \
42 V(CreateAllocationSite) \ 43 V(CreateAllocationSite) \
43 V(CreateWeakCell) \ 44 V(CreateWeakCell) \
44 V(CallFunction) \ 45 V(CallFunction) \
45 V(CallIC) \ 46 V(CallIC) \
46 V(CallICTrampoline) \ 47 V(CallICTrampoline) \
47 V(CallForwardVarargs) \ 48 V(CallForwardVarargs) \
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 }; 500 };
500 501
501 class TypeConversionDescriptor final : public CallInterfaceDescriptor { 502 class TypeConversionDescriptor final : public CallInterfaceDescriptor {
502 public: 503 public:
503 DEFINE_PARAMETERS(kArgument) 504 DEFINE_PARAMETERS(kArgument)
504 DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor) 505 DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor)
505 506
506 static const Register ArgumentRegister(); 507 static const Register ArgumentRegister();
507 }; 508 };
508 509
510 class TypeConversionStackParameterDescriptor final
511 : public CallInterfaceDescriptor {
512 public:
513 DEFINE_PARAMETERS(kArgument)
514 DECLARE_DESCRIPTOR(TypeConversionStackParameterDescriptor,
515 CallInterfaceDescriptor)
516 };
517
509 class ForInPrepareDescriptor final : public CallInterfaceDescriptor { 518 class ForInPrepareDescriptor final : public CallInterfaceDescriptor {
510 public: 519 public:
511 DEFINE_PARAMETERS(kObject) 520 DEFINE_PARAMETERS(kObject)
512 DECLARE_DEFAULT_DESCRIPTOR(ForInPrepareDescriptor, CallInterfaceDescriptor, 521 DECLARE_DEFAULT_DESCRIPTOR(ForInPrepareDescriptor, CallInterfaceDescriptor,
513 kParameterCount) 522 kParameterCount)
514 }; 523 };
515 524
516 class GetPropertyDescriptor final : public CallInterfaceDescriptor { 525 class GetPropertyDescriptor final : public CallInterfaceDescriptor {
517 public: 526 public:
518 DEFINE_PARAMETERS(kObject, kKey) 527 DEFINE_PARAMETERS(kObject, kKey)
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 } // namespace v8 910 } // namespace v8
902 911
903 912
904 #if V8_TARGET_ARCH_ARM64 913 #if V8_TARGET_ARCH_ARM64
905 #include "src/arm64/interface-descriptors-arm64.h" 914 #include "src/arm64/interface-descriptors-arm64.h"
906 #elif V8_TARGET_ARCH_ARM 915 #elif V8_TARGET_ARCH_ARM
907 #include "src/arm/interface-descriptors-arm.h" 916 #include "src/arm/interface-descriptors-arm.h"
908 #endif 917 #endif
909 918
910 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 919 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698