// Copyright 2013 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_OBJECTS_ALLOCATION_SITE_SCOPES_H_ #define V8_OBJECTS_ALLOCATION_SITE_SCOPES_H_ #include "src/handles/handles.h" #include "src/objects/allocation-site.h" #include "src/objects/map.h" #include "src/objects/objects.h" namespace v8 { namespace internal { // AllocationSiteContext is the base class for walking and copying a nested // boilerplate with AllocationSite and AllocationMemento support. class AllocationSiteContext { … }; // AllocationSiteUsageContext aids in the creation of AllocationMementos placed // behind some/all components of a copied object literal. class AllocationSiteUsageContext : public AllocationSiteContext { … }; } // namespace internal } // namespace v8 #endif // V8_OBJECTS_ALLOCATION_SITE_SCOPES_H_