Reviewers: Michael Starzinger, Description: Fix debug tests.
Please review this at http://codereview.chromium.org/9178013/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/spaces.cc Index: src/spaces.cc =================================================================== --- src/spaces.cc (revision 10415) +++ src/spaces.cc (working copy) @@ -1333,6 +1333,10 @@ bool SemiSpace::GrowTo(int new_capacity) { + if (!is_committed()) { + bool ok = Commit(); + if (!ok) return false; + } ASSERT((new_capacity & Page::kPageAlignmentMask) == 0); ASSERT(new_capacity <= maximum_capacity_); ASSERT(new_capacity > capacity_); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
