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

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

Issue 2890363002: Fix deoptmization of inlined TF InstanceOf to call ToBoolean (Closed)
Patch Set: Add test flag Created 3 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 <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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 }; 501 };
501 502
502 class TypeConversionDescriptor final : public CallInterfaceDescriptor { 503 class TypeConversionDescriptor final : public CallInterfaceDescriptor {
503 public: 504 public:
504 DEFINE_PARAMETERS(kArgument) 505 DEFINE_PARAMETERS(kArgument)
505 DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor) 506 DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor)
506 507
507 static const Register ArgumentRegister(); 508 static const Register ArgumentRegister();
508 }; 509 };
509 510
511 class TypeConversionStackParameterDescriptor final
512 : public CallInterfaceDescriptor {
513 public:
514 DEFINE_PARAMETERS(kArgument)
515 DECLARE_DESCRIPTOR(TypeConversionStackParameterDescriptor,
516 CallInterfaceDescriptor)
517 protected:
518 void InitializePlatformIndependent(
Michael Starzinger 2017/06/22 14:16:12 nit: Can we use DECLARE_DESCRIPTOR_WITH_CUSTOM_FUN
danno 2017/06/22 15:04:00 Done.
519 CallInterfaceDescriptorData* data) override;
520 };
521
510 class ForInPrepareDescriptor final : public CallInterfaceDescriptor { 522 class ForInPrepareDescriptor final : public CallInterfaceDescriptor {
511 public: 523 public:
512 DEFINE_PARAMETERS(kObject) 524 DEFINE_PARAMETERS(kObject)
513 DECLARE_DEFAULT_DESCRIPTOR(ForInPrepareDescriptor, CallInterfaceDescriptor, 525 DECLARE_DEFAULT_DESCRIPTOR(ForInPrepareDescriptor, CallInterfaceDescriptor,
514 kParameterCount) 526 kParameterCount)
515 }; 527 };
516 528
517 class GetPropertyDescriptor final : public CallInterfaceDescriptor { 529 class GetPropertyDescriptor final : public CallInterfaceDescriptor {
518 public: 530 public:
519 DEFINE_PARAMETERS(kObject, kKey) 531 DEFINE_PARAMETERS(kObject, kKey)
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 } // namespace v8 930 } // namespace v8
919 931
920 932
921 #if V8_TARGET_ARCH_ARM64 933 #if V8_TARGET_ARCH_ARM64
922 #include "src/arm64/interface-descriptors-arm64.h" 934 #include "src/arm64/interface-descriptors-arm64.h"
923 #elif V8_TARGET_ARCH_ARM 935 #elif V8_TARGET_ARCH_ARM
924 #include "src/arm/interface-descriptors-arm.h" 936 #include "src/arm/interface-descriptors-arm.h"
925 #endif 937 #endif
926 938
927 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 939 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698