| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 754b5588e05f89b11c8fffc7d77df82d5d29872a..f3b02ce6388e28423ac9390fa3631357f1924a43 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -42,6 +42,7 @@ namespace internal {
|
| V(Map, shared_function_info_map, SharedFunctionInfoMap) \
|
| V(Map, meta_map, MetaMap) \
|
| V(Map, heap_number_map, HeapNumberMap) \
|
| + V(Map, mutable_heap_number_map, MutableHeapNumberMap) \
|
| V(Map, native_context_map, NativeContextMap) \
|
| V(Map, fixed_array_map, FixedArrayMap) \
|
| V(Map, code_map, CodeMap) \
|
| @@ -230,6 +231,7 @@ namespace internal {
|
| V(shared_function_info_map) \
|
| V(meta_map) \
|
| V(heap_number_map) \
|
| + V(mutable_heap_number_map) \
|
| V(native_context_map) \
|
| V(fixed_array_map) \
|
| V(code_map) \
|
| @@ -1460,7 +1462,9 @@ class Heap {
|
|
|
| // Allocated a HeapNumber from value.
|
| MUST_USE_RESULT AllocationResult AllocateHeapNumber(
|
| - double value, PretenureFlag pretenure = NOT_TENURED);
|
| + double value,
|
| + MutableMode mode = IMMUTABLE,
|
| + PretenureFlag pretenure = NOT_TENURED);
|
|
|
| // Allocate a byte array of the specified length
|
| MUST_USE_RESULT AllocationResult AllocateByteArray(
|
|
|