| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index c35120d6b4b5a13f6f77b596f83372129c52fd73..600571e9d9351030f1802da38ff7bdc1eb434fce 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -451,6 +451,8 @@ Handle<JSFunction> Genesis::CreateEmptyFunction(Isolate* isolate) {
|
| // Later the map is replaced with writable prototype map, allocated below.
|
| Handle<Map> function_map = CreateFunctionMap(ADD_READONLY_PROTOTYPE);
|
| native_context()->set_sloppy_function_map(*function_map);
|
| + native_context()->set_sloppy_function_with_readonly_prototype_map(
|
| + *function_map);
|
|
|
| // The final map for functions. Writeable prototype.
|
| // This map is installed in MakeFunctionInstancePrototypeWritable.
|
|
|