| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index a104dc9f20c3cf98a7ece06b019fcbefc34f902d..436538daef7bd969d9764725009432105fe06c2c 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -421,7 +421,12 @@ class Factory V8_FINAL {
|
| void BecomeJSFunction(Handle<JSReceiver> object);
|
|
|
| Handle<JSFunction> NewFunction(Handle<String> name,
|
| - Handle<Object> prototype);
|
| + Handle<Code> code,
|
| + MaybeHandle<Object> maybe_prototype =
|
| + MaybeHandle<Object>());
|
| +
|
| + Handle<JSFunction> NewFunctionWithPrototype(Handle<String> name,
|
| + Handle<Object> prototype);
|
|
|
| Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
|
| Handle<SharedFunctionInfo> function_info,
|
| @@ -441,9 +446,6 @@ class Factory V8_FINAL {
|
| Handle<Code> code,
|
| bool force_initial_map);
|
|
|
| - Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name,
|
| - Handle<Code> code);
|
| -
|
| // Create a serialized scope info.
|
| Handle<ScopeInfo> NewScopeInfo(int length);
|
|
|
|
|