Index: src/v8threads.cc |
=================================================================== |
--- src/v8threads.cc (revision 1738) |
+++ src/v8threads.cc (working copy) |
@@ -144,7 +144,9 @@ |
char* from = state->data(); |
from = HandleScopeImplementer::RestoreThread(from); |
from = Top::RestoreThread(from); |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
from = Debug::RestoreDebug(from); |
+#endif |
from = StackGuard::RestoreStackGuard(from); |
from = RegExpStack::RestoreStack(from); |
from = Bootstrapper::RestoreState(from); |
@@ -172,7 +174,9 @@ |
static int ArchiveSpacePerThread() { |
return HandleScopeImplementer::ArchiveSpacePerThread() + |
Top::ArchiveSpacePerThread() + |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
Debug::ArchiveSpacePerThread() + |
Søren Thygesen Gjesse
2009/04/17 23:46:17
Please move this to the bottom of the "list".
|
+#endif |
StackGuard::ArchiveSpacePerThread() + |
RegExpStack::ArchiveSpacePerThread() + |
Bootstrapper::ArchiveSpacePerThread(); |
@@ -259,7 +263,9 @@ |
char* to = state->data(); |
to = HandleScopeImplementer::ArchiveThread(to); |
to = Top::ArchiveThread(to); |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
to = Debug::ArchiveDebug(to); |
Søren Thygesen Gjesse
2009/04/17 23:46:17
Please move this to the bottom of the "list".
|
+#endif |
to = StackGuard::ArchiveStackGuard(to); |
to = RegExpStack::ArchiveStack(to); |
to = Bootstrapper::ArchiveState(to); |