Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index f41bc647e949a0912cacda552d99316db76ec7b6..a785501c831a4e4809a6b8622ce9edf743aef225 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -70,6 +70,7 @@ class PlatformInterfaceDescriptor; |
V(StringCompare) \ |
V(Keyed) \ |
V(Named) \ |
+ V(HasProperty) \ |
V(CallHandler) \ |
V(ArgumentAdaptor) \ |
V(ApiCallbackWith0Args) \ |
@@ -432,6 +433,15 @@ class TypeConversionDescriptor final : public CallInterfaceDescriptor { |
static const Register ArgumentRegister(); |
}; |
+class HasPropertyDescriptor final : public CallInterfaceDescriptor { |
+ public: |
+ enum ParameterIndices { kKeyIndex, kObjectIndex }; |
+ |
+ DECLARE_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor) |
+ |
+ static const Register KeyRegister(); |
+ static const Register ObjectRegister(); |
+}; |
class TypeofDescriptor : public CallInterfaceDescriptor { |
public: |