| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 45d540160282ab3ba5eac4e98aaf5e113dfc69ba..2c658e8160d14556a3ebf4da14fa040dd73519ef 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -453,7 +453,8 @@ class Factory V8_FINAL {
|
|
|
| Handle<JSFunction> NewFunction(Handle<String> name,
|
| Handle<Code> code,
|
| - Handle<Object> prototype);
|
| + Handle<Object> prototype,
|
| + bool read_only_prototype = false);
|
| Handle<JSFunction> NewFunction(Handle<String> name);
|
| Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name,
|
| Handle<Code> code);
|
| @@ -467,7 +468,8 @@ class Factory V8_FINAL {
|
| Handle<Code> code,
|
| Handle<Object> prototype,
|
| InstanceType type,
|
| - int instance_size);
|
| + int instance_size,
|
| + bool read_only_prototype = false);
|
| Handle<JSFunction> NewFunction(Handle<String> name,
|
| Handle<Code> code,
|
| InstanceType type,
|
|
|