Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 352edaaa669f7c5325c5f9ae19df4091575d9389..afec995a0e1d1149ea6e699495fc404ae5aeaacd 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -861,7 +861,8 @@ enum CompareResult { |
| class AccessorPair; |
| class AllocationSite; |
| -class AllocationSiteContext; |
| +class AllocationSiteCreationContext; |
| +class AllocationSiteUsageContext; |
| class DictionaryElementsAccessor; |
| class ElementsAccessor; |
| class Failure; |
| @@ -2521,13 +2522,12 @@ class JSObject: public JSReceiver { |
| static void SetObserved(Handle<JSObject> object); |
| // Copy object. |
| - static Handle<JSObject> Copy(Handle<JSObject> object, |
| - Handle<AllocationSite> site); |
| static Handle<JSObject> Copy(Handle<JSObject> object); |
| static Handle<JSObject> DeepCopy(Handle<JSObject> object, |
| - AllocationSiteContext* site_context); |
| + AllocationSiteUsageContext* site_context, |
| + bool hint_object_is_shallow_array = false); |
|
Michael Starzinger
2013/11/22 20:07:16
Yay, more magic boolean parameters. :/
mvstanton
2013/11/25 11:51:50
Good point, I replaced it with an enum DeepCopyHin
|
| static Handle<JSObject> DeepWalk(Handle<JSObject> object, |
| - AllocationSiteContext* site_context); |
| + AllocationSiteCreationContext* site_context); |
| // Casting. |
| static inline JSObject* cast(Object* obj); |