Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index bb85a7547a13786ef98747a975baee4d5103b898..2ac87352c355cfa0d22ef6bccdbe105898470249 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -62,6 +62,7 @@ using v8::MemoryPressureLevel; |
V(FixedArray, empty_literals_array, EmptyLiteralsArray) \ |
V(FixedArray, empty_type_feedback_vector, EmptyTypeFeedbackVector) \ |
V(FixedArray, empty_fixed_array, EmptyFixedArray) \ |
+ V(ScopeInfo, empty_scope_info, EmptyScopeInfo) \ |
V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \ |
V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ |
/* Entries beyond the first 32 */ \ |
@@ -2039,6 +2040,9 @@ class Heap { |
// Allocate empty fixed array. |
MUST_USE_RESULT AllocationResult AllocateEmptyFixedArray(); |
+ // Allocate empty scope info. |
+ MUST_USE_RESULT AllocationResult AllocateEmptyScopeInfo(); |
+ |
// Allocate empty fixed typed array of given type. |
MUST_USE_RESULT AllocationResult |
AllocateEmptyFixedTypedArray(ExternalArrayType array_type); |