mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Bug 519371 - NJ merge: add missing PEDANTIC occurrences. r=dvander.
This commit is contained in:
parent
6b042260b2
commit
5a449614d7
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user