Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 1c8e0e16e60405f0c03b08b971057b51fa7a9d45..95478ee59069dc2853a82bd727d19986151b9c5a 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -77,6 +77,7 @@ namespace internal { |
V(FixedArray, empty_fixed_array, EmptyFixedArray) \ |
V(ByteArray, empty_byte_array, EmptyByteArray) \ |
V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ |
+ V(ConstantPoolArray, empty_constant_pool_array, EmptyConstantPoolArray) \ |
V(Smi, stack_limit, StackLimit) \ |
V(Oddball, arguments_marker, ArgumentsMarker) \ |
/* The roots above this line should be boring from a GC point of view. */ \ |
@@ -2145,6 +2146,9 @@ class Heap { |
// Allocate empty fixed double array. |
MUST_USE_RESULT MaybeObject* AllocateEmptyFixedDoubleArray(); |
+ // Allocate empty constant pool array. |
+ MUST_USE_RESULT MaybeObject* AllocateEmptyConstantPoolArray(); |
+ |
// Allocate a tenured simple cell. |
MUST_USE_RESULT MaybeObject* AllocateCell(Object* value); |