Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 3495c8740da669e2d1661a99de059bc3fe4e1fb3..ac354d5c95fe97c83fee77d0a752ac35f9adc2fa 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -962,6 +962,7 @@ template <class C> inline bool Is(Object* obj); |
V(StringWrapper) \ |
V(Foreign) \ |
V(Boolean) \ |
+ V(JSArgumentsObject) \ |
V(JSArray) \ |
V(JSArrayBuffer) \ |
V(JSArrayBufferView) \ |
@@ -2578,6 +2579,9 @@ class JSArgumentsObject: public JSObject { |
// Indices of in-object properties. |
static const int kLengthIndex = 0; |
+ DECLARE_VERIFIER(JSArgumentsObject) |
+ DECLARE_CAST(JSArgumentsObject) |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSArgumentsObject); |
}; |
@@ -2593,6 +2597,8 @@ class JSSloppyArgumentsObject: public JSArgumentsObject { |
// Indices of in-object properties. |
static const int kCalleeIndex = 1; |
+ DECLARE_CAST(JSSloppyArgumentsObject) |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSSloppyArgumentsObject); |
}; |
@@ -2605,6 +2611,8 @@ class JSStrictArgumentsObject: public JSArgumentsObject { |
// Offsets of object fields. |
static const int kSize = JSArgumentsObject::kHeaderSize; |
+ DECLARE_CAST(JSStrictArgumentsObject) |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSStrictArgumentsObject); |
}; |