Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 83fb1ffc0e3ea004a03c2553b2001b25f6d6e68e..943902e153415da198c6d7b9088cd8729b302d33 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -369,6 +369,12 @@ Handle<Struct> Factory::NewStruct(InstanceType type) { |
} |
+Handle<DeclaredAccessorDescriptor> Factory::NewDeclaredAccessorDescriptor() { |
+ return Handle<DeclaredAccessorDescriptor>::cast( |
+ NewStruct(DECLARED_ACCESSOR_DESCRIPTOR_TYPE)); |
+} |
+ |
+ |
Handle<DeclaredAccessorInfo> Factory::NewDeclaredAccessorInfo() { |
Handle<DeclaredAccessorInfo> info = |
Handle<DeclaredAccessorInfo>::cast( |