Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index b390cc3a554092e10cb2a076f828c9c8fe48e4dc..2172695e78030f8d8a6254a3eba886fba21106cd 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1694,6 +1694,9 @@ |
// Forward declaration for JSObject::GetOrCreateHiddenPropertiesHashTable. |
class ObjectHashTable; |
+// Forward declaration for JSObject::Copy. |
+class AllocationSite; |
+ |
// The JSObject describes real heap allocated JavaScript objects with |
// properties. |
@@ -2154,6 +2157,7 @@ |
// Copy object. |
enum DeepCopyHints { kNoHints = 0, kObjectIsShallow = 1 }; |
+ static Handle<JSObject> Copy(Handle<JSObject> object); |
MUST_USE_RESULT static MaybeHandle<JSObject> DeepCopy( |
Handle<JSObject> object, |
AllocationSiteUsageContext* site_context, |