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

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

Issue 2890363002: Fix deoptmization of inlined TF InstanceOf to call ToBoolean (Closed)
Patch Set: Review feedback 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
« no previous file with comments | « src/deoptimizer.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 <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_WITH_CUSTOM_FUNCTION_TYPE(
516 TypeConversionStackParameterDescriptor, CallInterfaceDescriptor)
517 };
518
510 class ForInPrepareDescriptor final : public CallInterfaceDescriptor { 519 class ForInPrepareDescriptor final : public CallInterfaceDescriptor {
511 public: 520 public:
512 DEFINE_PARAMETERS(kObject) 521 DEFINE_PARAMETERS(kObject)
513 DECLARE_DEFAULT_DESCRIPTOR(ForInPrepareDescriptor, CallInterfaceDescriptor, 522 DECLARE_DEFAULT_DESCRIPTOR(ForInPrepareDescriptor, CallInterfaceDescriptor,
514 kParameterCount) 523 kParameterCount)
515 }; 524 };
516 525
517 class GetPropertyDescriptor final : public CallInterfaceDescriptor { 526 class GetPropertyDescriptor final : public CallInterfaceDescriptor {
518 public: 527 public:
519 DEFINE_PARAMETERS(kObject, kKey) 528 DEFINE_PARAMETERS(kObject, kKey)
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 } // namespace v8 927 } // namespace v8
919 928
920 929
921 #if V8_TARGET_ARCH_ARM64 930 #if V8_TARGET_ARCH_ARM64
922 #include "src/arm64/interface-descriptors-arm64.h" 931 #include "src/arm64/interface-descriptors-arm64.h"
923 #elif V8_TARGET_ARCH_ARM 932 #elif V8_TARGET_ARCH_ARM
924 #include "src/arm/interface-descriptors-arm.h" 933 #include "src/arm/interface-descriptors-arm.h"
925 #endif 934 #endif
926 935
927 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 936 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698