| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index c2ceda7f46259fb047e2296694be92dab0d8cef1..5d7ba445399234d2ebeeb24f63cab0b9ba21cca5 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -287,7 +287,6 @@ class Genesis BASE_EMBEDDED {
|
|
|
| void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
|
| FunctionMode function_mode);
|
| - void SetStrongFunctionInstanceDescriptor(Handle<Map> map);
|
|
|
| static bool CallUtilsFunction(Isolate* isolate, const char* name);
|
|
|
| @@ -628,29 +627,6 @@ void Genesis::SetStrictFunctionInstanceDescriptor(Handle<Map> map,
|
| }
|
|
|
|
|
| -void Genesis::SetStrongFunctionInstanceDescriptor(Handle<Map> map) {
|
| - Map::EnsureDescriptorSlack(map, 2);
|
| -
|
| - PropertyAttributes ro_attribs =
|
| - static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY);
|
| -
|
| - Handle<AccessorInfo> length =
|
| - Accessors::FunctionLengthInfo(isolate(), ro_attribs);
|
| - { // Add length.
|
| - AccessorConstantDescriptor d(Handle<Name>(Name::cast(length->name())),
|
| - length, ro_attribs);
|
| - map->AppendDescriptor(&d);
|
| - }
|
| - Handle<AccessorInfo> name =
|
| - Accessors::FunctionNameInfo(isolate(), ro_attribs);
|
| - { // Add name.
|
| - AccessorConstantDescriptor d(Handle<Name>(Name::cast(name->name())), name,
|
| - ro_attribs);
|
| - map->AppendDescriptor(&d);
|
| - }
|
| -}
|
| -
|
| -
|
| // Creates the %ThrowTypeError% function.
|
| Handle<JSFunction> Genesis::GetThrowTypeErrorIntrinsic(
|
| Builtins::Name builtin_name) {
|
|
|