From 7f5c66b26b2488acc10710e33419b276b392dc5b Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Thu, 26 Jun 2014 11:49:39 +0000 Subject: [PATCH] Keep CodeRange::current_allocation_block_index_ in range after r21869. BUG=305878,388328 LOG=N R=hpayer@chromium.org Review URL: https://codereview.chromium.org/354003003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22037 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/spaces.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spaces.cc b/src/spaces.cc index 72a0222ba4..194f75dfbf 100644 --- a/src/spaces.cc +++ b/src/spaces.cc @@ -193,7 +193,7 @@ bool CodeRange::GetNextAllocationBlock(size_t requested) { return true; // Found a large enough allocation block. } } - + current_allocation_block_index_ = 0; // Code range is full or too fragmented. return false; }