Index: src/api-natives.h |
diff --git a/src/api-natives.h b/src/api-natives.h |
index 66901fe965e715918c4d33c61d1f0d2b85a0c647..f5759e4a61d99bcbed296e77d0482bb905fcc397 100644 |
--- a/src/api-natives.h |
+++ b/src/api-natives.h |
@@ -37,6 +37,11 @@ class ApiNatives { |
Handle<Object> prototype, |
ApiInstanceType instance_type); |
+ static Handle<JSFunction> CreateApiFunctionWithMap( |
+ Isolate* isolate, Handle<Object> context_or_undefined, |
+ Handle<FunctionTemplateInfo> obj, Handle<Map> initial_map, |
+ Handle<Object> prototype, ApiInstanceType instance_type); |
+ |
static void AddDataProperty(Isolate* isolate, Handle<TemplateInfo> info, |
Handle<Name> name, Handle<Object> value, |
PropertyAttributes attributes); |