| 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();
|
|
|