Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index 1d80b25891009325a002000fd868a22b732b45a1..1c299a1f67d49443a1a34643e7765b7a00271ed5 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -32,15 +32,11 @@ class ElementsAccessor { |
// 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 bool HasElement( |
- Handle<JSObject> holder, |
- uint32_t key, |
- Handle<FixedArrayBase> backing_store) = 0; |
+ virtual bool HasElement(JSObject* holder, uint32_t key, |
+ FixedArrayBase* backing_store) = 0; |
- inline bool HasElement( |
- Handle<JSObject> holder, |
- uint32_t key) { |
- return HasElement(holder, key, handle(holder->elements())); |
+ inline bool HasElement(JSObject* holder, uint32_t key) { |
+ return HasElement(holder, key, holder->elements()); |
} |
// Returns the element with the specified key or undefined if there is no such |
@@ -67,14 +63,11 @@ 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<JSObject> holder, |
- uint32_t key, |
- Handle<FixedArrayBase> backing_store) = 0; |
+ JSObject* holder, uint32_t key, FixedArrayBase* backing_store) = 0; |
- MUST_USE_RESULT inline PropertyAttributes GetAttributes( |
- Handle<JSObject> holder, |
- uint32_t key) { |
- return GetAttributes(holder, key, handle(holder->elements())); |
+ MUST_USE_RESULT inline PropertyAttributes GetAttributes(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 |
@@ -175,7 +168,7 @@ class ElementsAccessor { |
return elements_accessors_[elements_kind]; |
} |
- static ElementsAccessor* ForArray(Handle<FixedArrayBase> array); |
+ static ElementsAccessor* ForArray(FixedArrayBase* array); |
static void InitializeOncePerProcess(); |
static void TearDown(); |
@@ -183,7 +176,7 @@ class ElementsAccessor { |
protected: |
friend class SloppyArgumentsElementsAccessor; |
- virtual uint32_t GetCapacity(Handle<FixedArrayBase> backing_store) = 0; |
+ virtual uint32_t GetCapacity(FixedArrayBase* backing_store) = 0; |
// Element handlers distinguish between indexes and keys when they manipulate |
// elements. Indexes refer to elements in terms of their location in the |