From: erik.corry@gmail.com Date: Wed, 8 Dec 2010 08:31:10 +0000 (+0000) Subject: Fix compile error on gcc-4.5 bug 963 X-Git-Tag: upstream/4.7.83~20863 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=059eece44cbe4f7d3ddd4589c8f7cc0054c064f9;p=platform%2Fupstream%2Fv8.git Fix compile error on gcc-4.5 bug 963 Review URL: http://codereview.chromium.org/5642004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5942 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/spaces.cc b/src/spaces.cc index 369eb6f..cdc682f 100644 --- a/src/spaces.cc +++ b/src/spaces.cc @@ -917,7 +917,7 @@ AtomicWord* MemoryAllocator::AllocatedChunksFinder( } more_fine_grained_table = new AtomicWord[words_needed]; for (int i = 0; i < words_needed; i++) { - more_fine_grained_table[i] = NULL; + more_fine_grained_table[i] = kUnusedChunkTableEntry; } Release_Store(&table[index], reinterpret_cast(more_fine_grained_table));