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

Unified Diff: src/v8threads.cc

Issue 23874010: build fix for 16520 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/objects.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
diff --git a/src/v8threads.cc b/src/v8threads.cc
index 17277a9c50c883f54be9e03608ed3b09fdb0ee5e..33b620d8eabe29252e17d4e6491a2251d1e2febb 100644
--- a/src/v8threads.cc
+++ b/src/v8threads.cc
@@ -227,7 +227,7 @@ void ThreadManager::Unlock() {
}
-static int ArchiveSpacePerThread(Isolate* isolate) {
+static int ArchiveSpacePerThread() {
return HandleScopeImplementer::ArchiveSpacePerThread() +
Isolate::ArchiveSpacePerThread() +
#ifdef ENABLE_DEBUGGER_SUPPORT
@@ -236,7 +236,7 @@ static int ArchiveSpacePerThread(Isolate* isolate) {
StackGuard::ArchiveSpacePerThread() +
RegExpStack::ArchiveSpacePerThread() +
Bootstrapper::ArchiveSpacePerThread() +
- Relocatable::ArchiveSpacePerThread(isolate);
+ Relocatable::ArchiveSpacePerThread();
}
@@ -256,7 +256,7 @@ ThreadState::~ThreadState() {
void ThreadState::AllocateSpace() {
- data_ = NewArray<char>(ArchiveSpacePerThread(Isolate::Current()));
+ data_ = NewArray<char>(ArchiveSpacePerThread());
}
@@ -396,7 +396,7 @@ void ThreadManager::Iterate(ObjectVisitor* v) {
char* data = state->data();
data = HandleScopeImplementer::Iterate(v, data);
data = isolate_->Iterate(v, data);
- data = Relocatable::Iterate(Isolate::Current(), v, data);
+ data = Relocatable::Iterate(v, data);
}
}
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698