| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 23e7001559f3f5ac4a6163532a6074035c1cd026..50e28d127ebcdea95be3840c92efc7b0d21222fd 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -231,7 +231,9 @@ class Factory : public AllStatic {
|
| static Handle<JSFunction> NewFunction(Handle<String> name,
|
| Handle<Object> prototype);
|
|
|
| - static Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name);
|
| + static Handle<JSFunction> NewFunctionWithoutPrototype(
|
| + Handle<String> name,
|
| + StrictModeFlag strict_mode);
|
|
|
| static Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global);
|
|
|
| @@ -407,7 +409,8 @@ class Factory : public AllStatic {
|
| Handle<Object> prototype);
|
|
|
| static Handle<JSFunction> NewFunctionWithoutPrototypeHelper(
|
| - Handle<String> name);
|
| + Handle<String> name,
|
| + StrictModeFlag strict_mode);
|
|
|
| static Handle<DescriptorArray> CopyAppendCallbackDescriptors(
|
| Handle<DescriptorArray> array,
|
|
|