Index: include/v8.h |
=================================================================== |
--- include/v8.h (revision 13465) |
+++ include/v8.h (working copy) |
@@ -2791,9 +2791,7 @@ |
typedef void (*GCPrologueCallback)(GCType type, GCCallbackFlags flags); |
typedef void (*GCEpilogueCallback)(GCType type, GCCallbackFlags flags); |
-typedef void (*GCCallback)(); |
- |
/** |
* Collection of V8 heap information. |
* |
@@ -3209,16 +3207,6 @@ |
static void RemoveGCPrologueCallback(GCPrologueCallback callback); |
/** |
- * The function is deprecated. Please use AddGCPrologueCallback instead. |
- * Enables the host application to receive a notification before a |
- * garbage collection. Allocations are not allowed in the |
- * callback function, you therefore cannot manipulate objects (set |
- * or delete properties for example) since it is possible such |
- * operations will result in the allocation of objects. |
- */ |
- static void SetGlobalGCPrologueCallback(GCCallback); |
Michael Starzinger
2013/01/23 17:39:07
I think it is better to mark this function as depr
yurys
2013/01/24 07:54:05
Done.
|
- |
- /** |
* Enables the host application to receive a notification after a |
* garbage collection. Allocations are not allowed in the |
* callback function, you therefore cannot manipulate objects (set |
@@ -3238,16 +3226,6 @@ |
static void RemoveGCEpilogueCallback(GCEpilogueCallback callback); |
/** |
- * The function is deprecated. Please use AddGCEpilogueCallback instead. |
- * Enables the host application to receive a notification after a |
- * major garbage collection. Allocations are not allowed in the |
- * callback function, you therefore cannot manipulate objects (set |
- * or delete properties for example) since it is possible such |
- * operations will result in the allocation of objects. |
- */ |
- static void SetGlobalGCEpilogueCallback(GCCallback); |
Michael Starzinger
2013/01/23 17:39:07
Likewise.
yurys
2013/01/24 07:54:05
Done.
|
- |
- /** |
* Enables the host application to provide a mechanism to be notified |
* and perform custom logging when V8 Allocates Executable Memory. |
*/ |