Revision: 17493
Author:   [email protected]
Date:     Tue Nov  5 14:24:57 2013 UTC
Log:      Add back assertion SetResourceConstraints.

This reverts commit f7f04272208d565020b528145ce6cef0f89c7079.

BUG=312233
[email protected]

Review URL: https://codereview.chromium.org/59133003

Patch from Ross Mcilroy <[email protected]>.
http://code.google.com/p/v8/source/detail?r=17493

Modified:
 /branches/bleeding_edge/src/api.cc

=======================================
--- /branches/bleeding_edge/src/api.cc  Tue Nov  5 11:47:11 2013 UTC
+++ /branches/bleeding_edge/src/api.cc  Tue Nov  5 14:24:57 2013 UTC
@@ -574,8 +574,7 @@
   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);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to