Index: src/top.h |
diff --git a/src/top.h b/src/top.h |
index e20a2a0f137d5afcf4acfc7b843de93a4152c38b..d263777b92f35fea84fb33dcdafa3805b64c3cc5 100644 |
--- a/src/top.h |
+++ b/src/top.h |
@@ -40,6 +40,7 @@ namespace internal { |
// Top has static variables used for JavaScript execution. |
class SaveContext; // Forward declaration. |
+class ThreadVisitor; // Defined in v8threads.h |
class ThreadLocalTop BASE_EMBEDDED { |
public: |
@@ -319,6 +320,8 @@ class Top { |
static void Iterate(ObjectVisitor* v); |
static void Iterate(ObjectVisitor* v, ThreadLocalTop* t); |
static char* Iterate(ObjectVisitor* v, char* t); |
+ static void IterateThread(ThreadVisitor* v); |
+ static void IterateThread(ThreadVisitor* v, char* t); |
// Returns the global object of the current context. It could be |
// a builtin object, or a js global object. |