Index: src/heap/heap-inl.h |
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h |
index b170e04798eaf4bba8d86db01e723337b02f1cb1..0f2d0f22a3e302f48ef8deb8fa0c15c7930645c7 100644 |
--- a/src/heap/heap-inl.h |
+++ b/src/heap/heap-inl.h |
@@ -146,6 +146,12 @@ |
AllocationResult Heap::CopyFixedDoubleArray(FixedDoubleArray* src) { |
if (src->length() == 0) return src; |
return CopyFixedDoubleArrayWithMap(src, src->map()); |
+} |
+ |
+ |
+AllocationResult Heap::CopyConstantPoolArray(ConstantPoolArray* src) { |
+ if (src->length() == 0) return src; |
+ return CopyConstantPoolArrayWithMap(src, src->map()); |
} |