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

Unified Diff: src/allocation-inl.h

Issue 23824005: revert thread isolate in PreallocatedStorageAllocationPolicy (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/allocation.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/allocation-inl.h
diff --git a/src/allocation-inl.h b/src/allocation-inl.h
index d215b176b10359fd1fceedd7e656bccc94dafb28..d32db4b17fc18c314f3ce51adb087cfa2333c038 100644
--- a/src/allocation-inl.h
+++ b/src/allocation-inl.h
@@ -35,12 +35,12 @@ namespace internal {
void* PreallocatedStorageAllocationPolicy::New(size_t size) {
- return isolate_->PreallocatedStorageNew(size);
+ return Isolate::Current()->PreallocatedStorageNew(size);
}
void PreallocatedStorageAllocationPolicy::Delete(void* p) {
- return isolate_->PreallocatedStorageDelete(p);
+ return Isolate::Current()->PreallocatedStorageDelete(p);
}
« no previous file with comments | « src/allocation.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698