Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 8c6ef85ac81149699d3466a0225f4f6e6496f776..3a01bd7551139e33cc194073218565cd41616678 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -452,6 +452,12 @@ class Factory V8_FINAL { |
Handle<Context> context, |
PretenureFlag pretenure = TENURED); |
+ Handle<JSFunction> NewFunction(MaybeHandle<Object> maybe_prototype, |
+ Handle<String> name, |
+ InstanceType type, |
+ int instance_size, |
+ Handle<Code> code, |
+ bool force_initial_map); |
Handle<JSFunction> NewFunction(Handle<String> name, |
InstanceType type, |
int instance_size, |
@@ -539,6 +545,7 @@ class Factory V8_FINAL { |
Handle<JSFunction> CreateApiFunction( |
Handle<FunctionTemplateInfo> data, |
+ Handle<Object> prototype, |
ApiInstanceType type = JavaScriptObject); |
Handle<JSFunction> InstallMembers(Handle<JSFunction> function); |