mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
Bug 453636 Make nanojit build with VC7.1 r=danderson a191=beltzner
This commit is contained in:
parent
18f4d49483
commit
fe427a60e2
@ -142,7 +142,9 @@ namespace nanojit
|
||||
trackFree(-1);
|
||||
}
|
||||
//fprintf(stderr, "Fragmento::pageAlloc %X, %d free pages of %d\n", (int)page, _stats.freePages, _stats.pages);
|
||||
#ifdef NJ_VERBOSE
|
||||
NanoAssert(pageCount()==_stats.freePages);
|
||||
#endif
|
||||
return page;
|
||||
}
|
||||
|
||||
@ -154,7 +156,9 @@ namespace nanojit
|
||||
page->next = _pageList;
|
||||
_pageList = page;
|
||||
trackFree(+1);
|
||||
#ifdef NJ_VERBOSE
|
||||
NanoAssert(pageCount()==_stats.freePages);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Fragmento::pagesGrow(int32_t count)
|
||||
@ -203,7 +207,9 @@ namespace nanojit
|
||||
page = next;
|
||||
}
|
||||
page->next = 0;
|
||||
#ifdef NJ_VERBOSE
|
||||
NanoAssert(pageCount()==_stats.freePages);
|
||||
#endif
|
||||
//fprintf(stderr,"Fragmento::pageGrow adding page %x ; %d\n", (intptr_t)page, count);
|
||||
}
|
||||
}
|
||||
|
@ -131,12 +131,12 @@ namespace nanojit
|
||||
#define verbose_output if (verbose_enabled()) Assembler::output
|
||||
#define verbose_outputf if (verbose_enabled()) Assembler::outputf
|
||||
#define verbose_enabled() (_verbose)
|
||||
#define verbose_only(...) __VA_ARGS__
|
||||
#define verbose_only(x) x
|
||||
#else
|
||||
#define verbose_output
|
||||
#define verbose_outputf
|
||||
#define verbose_enabled()
|
||||
#define verbose_only(...)
|
||||
#define verbose_only(x)
|
||||
#endif /*NJ_VERBOSE*/
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user