Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 9281fa9d72e354bfc4e16d035bcc14e71eb7a158..ef80db0975b0ba2583ab202f9d60c0bba540bced 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -588,7 +588,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 |