Commit 9a0c9a5c authored by hpayer@chromium.org's avatar hpayer@chromium.org

Fixed compilation error on Win64.

BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13199 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f6f55dcd
......@@ -1937,7 +1937,7 @@ void FreeListCategory::Reset() {
intptr_t FreeListCategory::CountFreeListItemsInList(Page* p) {
intptr_t sum = 0;
int sum = 0;
FreeListNode* n = top_;
while (n != NULL) {
if (Page::FromAddress(n->address()) == p) {
......@@ -1951,7 +1951,7 @@ intptr_t FreeListCategory::CountFreeListItemsInList(Page* p) {
intptr_t FreeListCategory::EvictFreeListItemsInList(Page* p) {
intptr_t sum = 0;
int sum = 0;
FreeListNode** n = &top_;
while (*n != NULL) {
if (Page::FromAddress((*n)->address()) == p) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment