Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 8fd97b2c7e18f9473168d9c258f6dde9e68445a4..7e8dd58f496b58800ed37da24c19d22ce296eda2 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) { |