| Index: src/accessors.cc
|
| diff --git a/src/accessors.cc b/src/accessors.cc
|
| index 011372cbff7f237ed06d526369fffb04a4e0e1cb..9bd6e5bb2c1b9bba335606f1ce6e3c1f47c04e92 100644
|
| --- a/src/accessors.cc
|
| +++ b/src/accessors.cc
|
| @@ -56,17 +56,6 @@ Handle<ExecutableAccessorInfo> Accessors::CloneAccessor(
|
| }
|
|
|
|
|
| -template <class C>
|
| -static C* FindInstanceOf(Isolate* isolate, Object* obj) {
|
| - for (PrototypeIterator iter(isolate, obj,
|
| - PrototypeIterator::START_AT_RECEIVER);
|
| - !iter.IsAtEnd(); iter.Advance()) {
|
| - if (Is<C>(iter.GetCurrent())) return C::cast(iter.GetCurrent());
|
| - }
|
| - return NULL;
|
| -}
|
| -
|
| -
|
| static V8_INLINE bool CheckForName(Handle<Name> name,
|
| Handle<String> property_name,
|
| int offset,
|
| @@ -916,11 +905,6 @@ static Handle<Object> SetFunctionPrototype(Isolate* isolate,
|
| }
|
|
|
|
|
| -Handle<Object> Accessors::FunctionGetPrototype(Handle<JSFunction> function) {
|
| - return GetFunctionPrototype(function->GetIsolate(), function);
|
| -}
|
| -
|
| -
|
| Handle<Object> Accessors::FunctionSetPrototype(Handle<JSFunction> function,
|
| Handle<Object> prototype) {
|
| DCHECK(function->should_have_prototype());
|
|
|