Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 5538088103813962b3a0fda765e675e54ffd9877..d6349e66eb1336f98ce5045dc688af12521138d0 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1546,8 +1546,8 @@ class JSObject: public HeapObject { |
// Returns the index'th element. |
// The undefined object if index is out of bounds. |
- MaybeObject* GetElementWithReceiver(JSObject* receiver, uint32_t index); |
- MaybeObject* GetElementWithInterceptor(JSObject* receiver, uint32_t index); |
+ MaybeObject* GetElementWithReceiver(Object* receiver, uint32_t index); |
+ MaybeObject* GetElementWithInterceptor(Object* receiver, uint32_t index); |
MUST_USE_RESULT MaybeObject* SetFastElementsCapacityAndLength(int capacity, |
int length); |
@@ -1804,7 +1804,7 @@ class JSObject: public HeapObject { |
Object* value, |
bool check_prototype); |
- MaybeObject* GetElementPostInterceptor(JSObject* receiver, uint32_t index); |
+ MaybeObject* GetElementPostInterceptor(Object* receiver, uint32_t index); |
MUST_USE_RESULT MaybeObject* DeletePropertyPostInterceptor(String* name, |
DeleteMode mode); |