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

Unified Diff: src/scopeinfo.h

Issue 7374002: Refactor allocation policies. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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/safepoint-table.cc ('k') | src/scopeinfo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scopeinfo.h
diff --git a/src/scopeinfo.h b/src/scopeinfo.h
index 86c33f61ffaf3a1bd38bc8d38665a83ec0181c41..3c1d72de4f67419429e0d6b15c59eebc122720ee 100644
--- a/src/scopeinfo.h
+++ b/src/scopeinfo.h
@@ -48,15 +48,17 @@ namespace internal {
// in debugging-unrelated contexts.
// Forward defined as
-// template <class Allocator = FreeStoreAllocationPolicy> class ScopeInfo;
+// template <class Allocator = FreeStoreAllocator> class ScopeInfo;
template<class Allocator>
class ScopeInfo BASE_EMBEDDED {
public:
// Create a ScopeInfo instance from a scope.
- explicit ScopeInfo(Scope* scope);
+ explicit ScopeInfo(Scope* scope,
+ const Allocator& allocator = Allocator());
// Create a ScopeInfo instance from SerializedScopeInfo.
- explicit ScopeInfo(SerializedScopeInfo* data);
+ explicit ScopeInfo(SerializedScopeInfo* data,
+ const Allocator& allocator = Allocator());
// Creates a SerializedScopeInfo holding the serialized scope info.
Handle<SerializedScopeInfo> Serialize();
« no previous file with comments | « src/safepoint-table.cc ('k') | src/scopeinfo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698