Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Unified Diff: src/objects.h

Issue 2126613002: making heap verification more aggressive (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: temporarily reducing verification strength Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 9671c9ba74e62530a026175e5a801d107eb8c595..bdecbdddcd18f1f0519e079ddeceb8edb1d8bc44 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) \
@@ -2584,6 +2585,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);
};
@@ -2599,6 +2603,8 @@ class JSSloppyArgumentsObject: public JSArgumentsObject {
// Indices of in-object properties.
static const int kCalleeIndex = 1;
+ DECLARE_CAST(JSSloppyArgumentsObject)
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(JSSloppyArgumentsObject);
};
@@ -2611,6 +2617,8 @@ class JSStrictArgumentsObject: public JSArgumentsObject {
// Offsets of object fields.
static const int kSize = JSArgumentsObject::kHeaderSize;
+ DECLARE_CAST(JSStrictArgumentsObject)
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(JSStrictArgumentsObject);
};

Powered by Google App Engine
This is Rietveld 408576698