| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 63ba0dc6699eb0fe96eff6c32f3e5591e249d576..3ce7f6eedaf18ea8b1eb6efd035e53d1d879b61e 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -563,7 +563,7 @@ Handle<JSFunction> Genesis::CreateEmptyFunction(Isolate* isolate) {
|
| Handle<String> source = factory->NewStringFromStaticChars("() {}");
|
| Handle<Script> script = factory->NewScript(source);
|
| script->set_type(Smi::FromInt(Script::TYPE_NATIVE));
|
| - empty_function->shared()->set_script(*script);
|
| + SharedFunctionInfo::SetScript(handle(empty_function->shared()), script);
|
| empty_function->shared()->set_start_position(0);
|
| empty_function->shared()->set_end_position(source->length());
|
| empty_function->shared()->DontAdaptArguments();
|
|
|