Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 6cd4f840b93e4abfcd052e2ab71392dda182b2b1..a7a24b0c9eab7afdf8b0f54344167f3e7e480e36 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -617,6 +617,16 @@ class Heap { |
// Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. |
MUST_USE_RESULT MaybeObject* CopyFixedArrayWithMap(FixedArray* src, Map* map); |
+ // Make a copy of src and return it. Returns |
+ // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. |
+ MUST_USE_RESULT inline MaybeObject* CopyFixedDoubleArray( |
+ FixedDoubleArray* src); |
+ |
+ // Make a copy of src, set the map, and return the copy. Returns |
+ // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. |
+ MUST_USE_RESULT MaybeObject* CopyFixedDoubleArrayWithMap( |
+ FixedDoubleArray* src, Map* map); |
+ |
// Allocates a fixed array initialized with the hole values. |
// Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
// failed. |