Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f4f079ee9f3f538d7e59dfeb81b8f97581ecddc7..c963f6f5cd17c9a5e11469612888945460d97184 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -635,10 +635,11 @@ enum CompareResult { |
WriteBarrierMode mode = UPDATE_WRITE_BARRIER); \ |
+class DictionaryElementsAccessor; |
class ElementsAccessor; |
-class StringStream; |
+class FixedArrayBase; |
class ObjectVisitor; |
-class DictionaryElementsAccessor; |
+class StringStream; |
struct ValueInfo : public Malloced { |
ValueInfo() : type(FIRST_TYPE), ptr(NULL), str(NULL), number(0) { } |
@@ -1493,7 +1494,7 @@ class JSObject: public JSReceiver { |
// In the slow mode the elements is either a NumberDictionary, an |
// ExternalArray, or a FixedArray parameter map for a (non-strict) |
// arguments object. |
- DECL_ACCESSORS(elements, HeapObject) |
+ DECL_ACCESSORS(elements, FixedArrayBase) |
inline void initialize_elements(); |
MUST_USE_RESULT inline MaybeObject* ResetElements(); |
inline ElementsKind GetElementsKind(); |