Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 1d2afb96fe1f6f6dbbe5dfed0ed9b540aee96747..8850bf20366e69853f821b28d4272a0c7b206235 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -53,7 +53,6 @@ namespace internal { |
V(Map, scope_info_map, ScopeInfoMap) \ |
V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ |
V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ |
- V(Map, constant_pool_array_map, ConstantPoolArrayMap) \ |
V(Map, weak_cell_map, WeakCellMap) \ |
V(Map, one_byte_string_map, OneByteStringMap) \ |
V(Map, one_byte_internalized_string_map, OneByteInternalizedStringMap) \ |
@@ -61,7 +60,6 @@ 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) \ |
/* The roots above this line should be boring from a GC point of view. */ \ |
/* This means they are never in new space and never on a page that is */ \ |
/* being compacted. */ \ |
@@ -352,7 +350,6 @@ namespace internal { |
V(ScopeInfoMap) \ |
V(FixedCOWArrayMap) \ |
V(FixedDoubleArrayMap) \ |
- V(ConstantPoolArrayMap) \ |
V(WeakCellMap) \ |
V(NoInterceptorResultSentinel) \ |
V(HashTableMap) \ |
@@ -360,7 +357,6 @@ namespace internal { |
V(EmptyFixedArray) \ |
V(EmptyByteArray) \ |
V(EmptyDescriptorArray) \ |
- V(EmptyConstantPoolArray) \ |
V(ArgumentsMarker) \ |
V(SymbolMap) \ |
V(SloppyArgumentsElementsMap) \ |
@@ -1974,12 +1970,6 @@ class Heap { |
MUST_USE_RESULT inline AllocationResult CopyFixedDoubleArray( |
FixedDoubleArray* src); |
- // Make a copy of src and return it. Returns |
- // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. |
- MUST_USE_RESULT inline AllocationResult CopyConstantPoolArray( |
- ConstantPoolArray* src); |
- |
- |
// Computes a single character string where the character has code. |
// A cache is used for one-byte (Latin1) codes. |
MUST_USE_RESULT AllocationResult |
@@ -1988,17 +1978,6 @@ class Heap { |
// Allocate a symbol in old space. |
MUST_USE_RESULT AllocationResult AllocateSymbol(); |
- // Make a copy of src, set the map, and return the copy. |
- MUST_USE_RESULT AllocationResult |
- CopyConstantPoolArrayWithMap(ConstantPoolArray* src, Map* map); |
- |
- MUST_USE_RESULT AllocationResult AllocateConstantPoolArray( |
- const ConstantPoolArray::NumberOfEntries& small); |
- |
- MUST_USE_RESULT AllocationResult AllocateExtendedConstantPoolArray( |
- const ConstantPoolArray::NumberOfEntries& small, |
- const ConstantPoolArray::NumberOfEntries& extended); |
- |
// Allocates an external array of the specified length and type. |
MUST_USE_RESULT AllocationResult |
AllocateExternalArray(int length, ExternalArrayType array_type, |
@@ -2038,9 +2017,6 @@ class Heap { |
MUST_USE_RESULT AllocationResult |
AllocateEmptyFixedTypedArray(ExternalArrayType array_type); |
- // Allocate empty constant pool array. |
- MUST_USE_RESULT AllocationResult AllocateEmptyConstantPoolArray(); |
- |
// Allocate a tenured simple cell. |
MUST_USE_RESULT AllocationResult AllocateCell(Object* value); |