Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 4ec24b2d4584e5a22af2c5a991e1d7ad98543c25..87eb61ae9723fe2a7d37ea356adc0529fcc15729 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -452,12 +452,9 @@ class Factory V8_FINAL { |
void BecomeJSFunction(Handle<JSReceiver> object); |
Handle<JSFunction> NewFunction(Handle<String> name, |
- Handle<Code> code, |
- MaybeHandle<Object> maybe_prototype = |
- MaybeHandle<Object>()); |
- |
- Handle<JSFunction> NewFunctionWithPrototype(Handle<String> name, |
- Handle<Object> prototype); |
+ MaybeHandle<Object> maybe_prototype, |
+ MaybeHandle<Code> maybe_code); |
+ Handle<JSFunction> NewFunction(Handle<String> name); |
Handle<JSFunction> NewFunctionFromSharedFunctionInfo( |
Handle<SharedFunctionInfo> function_info, |