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

Unified Diff: src/v8threads.cc

Issue 2807031: [Isolates] RegExpStack and memory allocation limits (statics #6) (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: -> is different than . Created 10 years, 6 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/regexp-stack.cc ('k') | test/cctest/test-alloc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8threads.cc
===================================================================
--- src/v8threads.cc (revision 5002)
+++ src/v8threads.cc (working copy)
@@ -163,7 +163,7 @@
from = isolate_->debug()->RestoreDebug(from);
#endif
from = isolate_->stack_guard()->RestoreStackGuard(from);
- from = RegExpStack::RestoreStack(from);
+ from = isolate_->regexp_stack()->RestoreStack(from);
from = isolate_->bootstrapper()->RestoreState(from);
Thread::SetThreadLocal(thread_state_key_, NULL);
if (state->terminate_on_restore()) {
@@ -307,7 +307,7 @@
to = isolate_->debug()->ArchiveDebug(to);
#endif
to = isolate_->stack_guard()->ArchiveStackGuard(to);
- to = RegExpStack::ArchiveStack(to);
+ to = isolate_->regexp_stack()->ArchiveStack(to);
to = isolate_->bootstrapper()->ArchiveState(to);
lazily_archived_thread_.Initialize(ThreadHandle::INVALID);
lazily_archived_thread_state_ = NULL;
@@ -321,7 +321,7 @@
isolate_->debug()->FreeThreadResources();
#endif
isolate_->stack_guard()->FreeThreadResources();
- RegExpStack::FreeThreadResources();
+ isolate_->regexp_stack()->FreeThreadResources();
isolate_->bootstrapper()->FreeThreadResources();
}
« no previous file with comments | « src/regexp-stack.cc ('k') | test/cctest/test-alloc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698