Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index dedc68437331520cb02ad6d632bcad5e97f27427..f6535c6e7973a469f9fc98d61c647f21b29fb6c6 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -169,13 +169,6 @@ Heap::Heap() |
force_oom_(false), |
delay_sweeper_tasks_for_testing_(false), |
pending_layout_change_object_(nullptr) { |
-// Allow build-time customization of the max semispace size. Building |
-// V8 with snapshots and a non-default max semispace size is much |
-// easier if you can define it as part of the build environment. |
-#if defined(V8_MAX_SEMISPACE_SIZE) |
- max_semi_space_size_ = reserved_semispace_size_ = V8_MAX_SEMISPACE_SIZE; |
-#endif |
- |
// Ensure old_generation_size_ is a multiple of kPageSize. |
DCHECK((max_old_generation_size_ & (Page::kPageSize - 1)) == 0); |