Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 8a73877eedec4b395078d7c7f2f84b103c5df763..0bb374f2dc69bea8e712d4962363e835bfbb80bc 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -574,8 +574,7 @@ bool SetResourceConstraints(ResourceConstraints* constraints) { |
int max_executable_size = constraints->max_executable_size(); |
if (young_space_size != 0 || old_gen_size != 0 || max_executable_size != 0) { |
// After initialization it's too late to change Heap constraints. |
- // TODO(rmcilroy): fix this assert. |
- // ASSERT(!isolate->IsInitialized()); |
+ ASSERT(!isolate->IsInitialized()); |
bool result = isolate->heap()->ConfigureHeap(young_space_size / 2, |
old_gen_size, |
max_executable_size); |