| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index c36156ddad5c3445056952ae0ccfc3fe5920e9b7..2dde7193eb3eb86d9b345bca3e78c08646dce1cf 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -509,7 +509,7 @@ Handle<JSFunction> Genesis::CreateEmptyFunction(Isolate* isolate) {
|
| // prototype, otherwise the missing initial_array_prototype will cause
|
| // assertions during startup.
|
| native_context()->set_initial_array_prototype(*prototype);
|
| - Accessors::FunctionSetPrototype(object_fun, prototype);
|
| + Accessors::FunctionSetPrototype(object_fun, prototype).Assert();
|
| }
|
|
|
| // Allocate the empty function as the prototype for function ECMAScript
|
| @@ -1673,7 +1673,7 @@ bool Genesis::InstallNatives() {
|
| isolate()->initial_object_prototype(), Builtins::kIllegal);
|
| Handle<JSObject> prototype =
|
| factory()->NewJSObject(isolate()->object_function(), TENURED);
|
| - Accessors::FunctionSetPrototype(script_fun, prototype);
|
| + Accessors::FunctionSetPrototype(script_fun, prototype).Assert();
|
| native_context()->set_script_function(*script_fun);
|
|
|
| Handle<Map> script_map = Handle<Map>(script_fun->initial_map());
|
| @@ -1815,7 +1815,7 @@ bool Genesis::InstallNatives() {
|
| isolate()->initial_object_prototype(), Builtins::kIllegal);
|
| Handle<JSObject> prototype =
|
| factory()->NewJSObject(isolate()->object_function(), TENURED);
|
| - Accessors::FunctionSetPrototype(opaque_reference_fun, prototype);
|
| + Accessors::FunctionSetPrototype(opaque_reference_fun, prototype).Assert();
|
| native_context()->set_opaque_reference_function(*opaque_reference_fun);
|
| }
|
|
|
|
|