Index: src/objects/object-macros.h |
diff --git a/src/objects/object-macros.h b/src/objects/object-macros.h |
index f3e138c1f774bdb9fc0beec6a316640e532936d5..a3ececc6f7fff5aa1999e51c2d218abb45f26b32 100644 |
--- a/src/objects/object-macros.h |
+++ b/src/objects/object-macros.h |
@@ -24,3 +24,9 @@ |
#define DECLARE_CAST(type) \ |
INLINE(static type* cast(Object* object)); \ |
INLINE(static const type* cast(const Object* object)); |
+ |
+#ifdef VERIFY_HEAP |
+#define DECLARE_VERIFIER(Name) void Name##Verify(); |
+#else |
+#define DECLARE_VERIFIER(Name) |
+#endif |