Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: src/v8threads.cc

Issue 2461002: - Begin removing [static] qualifier from methods in Bootstrapper. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/v8.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8threads.cc
===================================================================
--- src/v8threads.cc (revision 4772)
+++ src/v8threads.cc (working copy)
@@ -164,7 +164,7 @@
#endif
from = StackGuard::RestoreStackGuard(from);
from = RegExpStack::RestoreStack(from);
- from = Bootstrapper::RestoreState(from);
+ from = Isolate::Current()->bootstrapper()->RestoreState(from);
Thread::SetThreadLocal(thread_state_key, NULL);
if (state->terminate_on_restore()) {
StackGuard::TerminateExecution();
@@ -198,7 +198,8 @@
#endif
StackGuard::ArchiveSpacePerThread() +
RegExpStack::ArchiveSpacePerThread() +
- Bootstrapper::ArchiveSpacePerThread() +
+ Isolate::Current()->bootstrapper()->
+ ArchiveSpacePerThread() +
Relocatable::ArchiveSpacePerThread();
}
@@ -295,7 +296,7 @@
#endif
to = StackGuard::ArchiveStackGuard(to);
to = RegExpStack::ArchiveStack(to);
- to = Bootstrapper::ArchiveState(to);
+ to = Isolate::Current()->bootstrapper()->ArchiveState(to);
lazily_archived_thread_.Initialize(ThreadHandle::INVALID);
lazily_archived_thread_state_ = NULL;
}
@@ -309,7 +310,7 @@
#endif
StackGuard::FreeThreadResources();
RegExpStack::FreeThreadResources();
- Bootstrapper::FreeThreadResources();
+ Isolate::Current()->bootstrapper()->FreeThreadResources();
}
« no previous file with comments | « src/v8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698