Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index bfdf039ae597830f3f9f5f8bbd243e830308b494..be1c86e74a9946738d99ee04b483f69ea8069333 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -623,7 +623,9 @@ template <class T> class PersistentBase { |
* external dependencies. This mark is automatically cleared after each |
* garbage collection. |
*/ |
- V8_INLINE void MarkPartiallyDependent(); |
+ V8_INLINE V8_DEPRECATED( |
+ "deprecated optimization, do not use partially dependent groups", |
+ void MarkPartiallyDependent()); |
/** |
* Marks the reference to this object as active. The scavenge garbage |