Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 1615db5527dbcb8fc036c1a2f9a895051b303910..b5d2c43593de306b7ed5d175ccc84e44f1256f3c 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -624,7 +624,9 @@ class Heap { |
// Returns a deep copy of the JavaScript object. |
// Properties and elements are copied too. |
// Returns failure if allocation failed. |
- MUST_USE_RESULT MaybeObject* CopyJSObject(JSObject* source); |
+ MUST_USE_RESULT MaybeObject* CopyJSObject( |
+ JSObject* source, |
+ AllocationSiteInfoMode mode = DONT_TRACK_ALLOCATION_SITE_INFO); |
// Allocates the function prototype. |
// Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |