Fix compilation error in r3352

Compilation error caught on Windows. Strangely enough gcc did not complaint here.

TBR=ager@chromium.org
Review URL: http://codereview.chromium.org/436022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3353 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
sgjesse@chromium.org 2009-11-24 15:16:02 +00:00
parent 4bc5aee624
commit 8e296a79ef

View File

@ -67,7 +67,7 @@ static Object* AllocateAfterFailures() {
OldSpace* old_data_space = Heap::old_data_space(); OldSpace* old_data_space = Heap::old_data_space();
static const int kOldDataSpaceFillerSize = ByteArray::SizeFor(0); static const int kOldDataSpaceFillerSize = ByteArray::SizeFor(0);
while (old_data_space->Available() > kOldDataSpaceFillerSize) { while (old_data_space->Available() > kOldDataSpaceFillerSize) {
CHECK(!Heap::Heap::AllocateByteArray(0, TENURED)->IsFailure()); CHECK(!Heap::AllocateByteArray(0, TENURED)->IsFailure());
} }
CHECK(!Heap::AllocateRawAsciiString(100, TENURED)->IsFailure()); CHECK(!Heap::AllocateRawAsciiString(100, TENURED)->IsFailure());