Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 07513aa820117b8442135e3b986c55d88192f3b3..593b1694cc7a4be1fd4c755e491cf752090da38e 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -5479,6 +5479,11 @@ class V8_EXPORT EmbedderHeapTracer { |
*/ |
virtual void TraceEpilogue() = 0; |
+ /** |
+ * Throw away all intermediate data and reset to the initial state. |
+ */ |
+ virtual void AbortTracing() {} |
+ |
protected: |
virtual ~EmbedderHeapTracer() = default; |
}; |