| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 3966a63c1ba8496d5efa785a3861550d7d21a02a..b2581e38aec97aed5054959274842820dba8408c 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -482,13 +482,14 @@ class Factory FINAL {
|
| void BecomeJSObject(Handle<JSProxy> object);
|
| void BecomeJSFunction(Handle<JSProxy> object);
|
|
|
| - Handle<JSFunction> NewFunction(Handle<String> name,
|
| - Handle<Code> code,
|
| + Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code,
|
| Handle<Object> prototype,
|
| - bool read_only_prototype = false);
|
| + bool read_only_prototype = false,
|
| + bool is_strict = false);
|
| Handle<JSFunction> NewFunction(Handle<String> name);
|
| Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name,
|
| - Handle<Code> code);
|
| + Handle<Code> code,
|
| + bool is_strict = false);
|
|
|
| Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
|
| Handle<SharedFunctionInfo> function_info,
|
| @@ -499,7 +500,8 @@ class Factory FINAL {
|
| Handle<Object> prototype, InstanceType type,
|
| int instance_size,
|
| bool read_only_prototype = false,
|
| - bool install_constructor = false);
|
| + bool install_constructor = false,
|
| + bool is_strict = false);
|
| Handle<JSFunction> NewFunction(Handle<String> name,
|
| Handle<Code> code,
|
| InstanceType type,
|
|
|