Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index d932ffd33833632622c048b4615abb15be6714ba..590dabc153707d040ff320658c6e08769fd5ddc8 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -43,11 +43,12 @@ namespace v8 { |
namespace internal { |
-static Handle<AccessorInfo> MakeAccessor(Isolate* isolate, |
- Handle<String> name, |
- AccessorGetterCallback getter, |
- AccessorSetterCallback setter, |
- PropertyAttributes attributes) { |
+Handle<AccessorInfo> Accessors::MakeAccessor( |
+ Isolate* isolate, |
+ Handle<String> name, |
+ AccessorGetterCallback getter, |
+ AccessorSetterCallback setter, |
+ PropertyAttributes attributes) { |
Factory* factory = isolate->factory(); |
Handle<ExecutableAccessorInfo> info = factory->NewExecutableAccessorInfo(); |
info->set_property_attributes(attributes); |
@@ -72,34 +73,6 @@ static C* FindInstanceOf(Isolate* isolate, Object* obj) { |
} |
-// Entry point that never should be called. |
-Object* Accessors::IllegalSetter(Isolate* isolate, |
- JSObject*, |
- Object*, |
- void*) { |
- UNREACHABLE(); |
- return NULL; |
-} |
- |
- |
-Object* Accessors::IllegalGetAccessor(Isolate* isolate, |
- Object* object, |
- void*) { |
- UNREACHABLE(); |
- return object; |
-} |
- |
- |
-Object* Accessors::ReadOnlySetAccessor(Isolate* isolate, |
- JSObject*, |
- Object* value, |
- void*) { |
- // According to ECMA-262, section 8.6.2.2, page 28, setting |
- // read-only properties must be silently ignored. |
- return value; |
-} |
- |
- |
static V8_INLINE bool CheckForName(Handle<String> name, |
Handle<String> property_name, |
int offset, |