Bug 519371 - NJ merge: add missing PEDANTIC occurrences. r=dvander.

This commit is contained in:
Nicholas Nethercote 2009-09-29 11:46:06 +10:00
parent 6b042260b2
commit 5a449614d7
2 changed files with 10 additions and 0 deletions

View File

@ -105,6 +105,9 @@ namespace nanojit
, _labels(alloc)
, _epilogue(NULL)
, _err(None)
#if PEDANTIC
, pedanticTop(NULL)
#endif
, config(core->config)
{
VMPI_memset(&_stats, 0, sizeof(_stats));
@ -337,10 +340,14 @@ namespace nanojit
Register Assembler::getBaseReg(LIns *i, int &d, RegisterMask allow)
{
#if !PEDANTIC
if (i->isop(LIR_alloc)) {
d += findMemFor(i);
return FP;
}
#else
(void) d;
#endif
return findRegFor(i, allow);
}

View File

@ -253,6 +253,9 @@ namespace nanojit
NIns* _nExitIns; // current instruction in exit fragment page
NIns* _epilogue;
AssmError _err; // 0 = means assemble() appears ok, otherwise it failed
#if PEDANTIC
NIns* pedanticTop;
#endif
AR _activation;
RegAlloc _allocator;