| Index: src/elements.h
|
| diff --git a/src/elements.h b/src/elements.h
|
| index 8024e5848b71887b54da534a58c476880994f720..1d80b25891009325a002000fd868a22b732b45a1 100644
|
| --- a/src/elements.h
|
| +++ b/src/elements.h
|
| @@ -33,16 +33,14 @@ class ElementsAccessor {
|
| // the ElementsKind of the ElementsAccessor. If backing_store is NULL, the
|
| // holder->elements() is used as the backing store.
|
| virtual bool HasElement(
|
| - Handle<Object> receiver,
|
| Handle<JSObject> holder,
|
| uint32_t key,
|
| Handle<FixedArrayBase> backing_store) = 0;
|
|
|
| inline bool HasElement(
|
| - Handle<Object> receiver,
|
| Handle<JSObject> holder,
|
| uint32_t key) {
|
| - return HasElement(receiver, holder, key, handle(holder->elements()));
|
| + return HasElement(holder, key, handle(holder->elements()));
|
| }
|
|
|
| // Returns the element with the specified key or undefined if there is no such
|
| @@ -69,16 +67,14 @@ class ElementsAccessor {
|
| // be compatible with the ElementsKind of the ElementsAccessor. If
|
| // backing_store is NULL, the holder->elements() is used as the backing store.
|
| MUST_USE_RESULT virtual PropertyAttributes GetAttributes(
|
| - Handle<Object> receiver,
|
| Handle<JSObject> holder,
|
| uint32_t key,
|
| Handle<FixedArrayBase> backing_store) = 0;
|
|
|
| MUST_USE_RESULT inline PropertyAttributes GetAttributes(
|
| - Handle<Object> receiver,
|
| Handle<JSObject> holder,
|
| uint32_t key) {
|
| - return GetAttributes(receiver, holder, key, handle(holder->elements()));
|
| + return GetAttributes(holder, key, handle(holder->elements()));
|
| }
|
|
|
| // Returns an element's accessors, or NULL if the element does not exist or
|
| @@ -87,16 +83,14 @@ class ElementsAccessor {
|
| // be compatible with the ElementsKind of the ElementsAccessor. If
|
| // backing_store is NULL, the holder->elements() is used as the backing store.
|
| MUST_USE_RESULT virtual MaybeHandle<AccessorPair> GetAccessorPair(
|
| - Handle<Object> receiver,
|
| Handle<JSObject> holder,
|
| uint32_t key,
|
| Handle<FixedArrayBase> backing_store) = 0;
|
|
|
| MUST_USE_RESULT inline MaybeHandle<AccessorPair> GetAccessorPair(
|
| - Handle<Object> receiver,
|
| Handle<JSObject> holder,
|
| uint32_t key) {
|
| - return GetAccessorPair(receiver, holder, key, handle(holder->elements()));
|
| + return GetAccessorPair(holder, key, handle(holder->elements()));
|
| }
|
|
|
| // Modifies the length data property as specified for JSArrays and resizes the
|
|
|