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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: src/interface-descriptors.h
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
index 557b89388ff5ec839906c820590b46532d51dc18..6825efef1d22fcff0b0469d2a262628a2cc282f8 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -35,6 +35,7 @@ class PlatformInterfaceDescriptor;
V(FastNewObject) \
V(FastNewArguments) \
V(TypeConversion) \
+ V(TypeConversionStackParameter) \
V(Typeof) \
V(FastCloneRegExp) \
V(FastCloneShallowArray) \
@@ -507,6 +508,17 @@ class TypeConversionDescriptor final : public CallInterfaceDescriptor {
static const Register ArgumentRegister();
};
+class TypeConversionStackParameterDescriptor final
+ : public CallInterfaceDescriptor {
+ public:
+ DEFINE_PARAMETERS(kArgument)
+ DECLARE_DESCRIPTOR(TypeConversionStackParameterDescriptor,
+ CallInterfaceDescriptor)
+ protected:
+ 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.
+ CallInterfaceDescriptorData* data) override;
+};
+
class ForInPrepareDescriptor final : public CallInterfaceDescriptor {
public:
DEFINE_PARAMETERS(kObject)

Powered by Google App Engine
This is Rietveld 408576698