| Index: src/elements.h
|
| diff --git a/src/elements.h b/src/elements.h
|
| index 7dbd7ef4dbf5501f3da9e89431f51db45586740c..4b756d60325db840eace996674bd76bf9afa9191 100644
|
| --- a/src/elements.h
|
| +++ b/src/elements.h
|
| @@ -59,19 +59,6 @@ class ElementsAccessor {
|
| return Get(holder, key, handle(holder->elements()));
|
| }
|
|
|
| - // Returns an element's attributes, or ABSENT if there is no such
|
| - // element. This method doesn't iterate up the prototype chain. The caller
|
| - // can optionally pass in the backing store to use for the check, which must
|
| - // be compatible with the ElementsKind of the ElementsAccessor. If
|
| - // backing_store is NULL, the holder->elements() is used as the backing store.
|
| - virtual PropertyAttributes GetAttributes(JSObject* holder, uint32_t key,
|
| - FixedArrayBase* backing_store) = 0;
|
| -
|
| - inline PropertyAttributes GetAttributes(Handle<JSObject> holder,
|
| - uint32_t key) {
|
| - return GetAttributes(*holder, key, holder->elements());
|
| - }
|
| -
|
| // Returns an element's accessors, or NULL if the element does not exist or
|
| // is plain. This method doesn't iterate up the prototype chain. The caller
|
| // can optionally pass in the backing store to use for the check, which must
|
| @@ -185,7 +172,8 @@ class ElementsAccessor {
|
| // the index to a key using the KeyAt method on the NumberDictionary.
|
| virtual uint32_t GetKeyForIndex(FixedArrayBase* backing_store,
|
| uint32_t index) = 0;
|
| - virtual uint32_t GetIndexForKey(FixedArrayBase* backing_store,
|
| + virtual uint32_t GetIndexForKey(JSObject* holder,
|
| + FixedArrayBase* backing_store,
|
| uint32_t key) = 0;
|
| virtual PropertyDetails GetDetails(FixedArrayBase* backing_store,
|
| uint32_t index) = 0;
|
|
|