Eliminate mergeCount from fragments since its unused (468391, r=danderson).

This commit is contained in:
Andreas Gal 2008-12-07 19:13:50 -08:00
parent 685eced553
commit e346e5cf60
3 changed files with 0 additions and 4 deletions

View File

@ -2682,7 +2682,6 @@ void
nanojit::Fragment::onDestroy()
{
if (root == this) {
delete mergeCounts;
delete lirbuf;
}
delete (TreeInfo *)vmprivate;

View File

@ -280,7 +280,6 @@ namespace nanojit
f->anchor = f;
f->root = f;
f->kind = LoopTrace;
f->mergeCounts = new (_core->gc) BlockHist(_core->gc);
verbose_only( addLabel(f, "T", _frags->size()); )
return f;
}
@ -574,7 +573,6 @@ namespace nanojit
Fragment *f = newFrag(ip);
f->anchor = from->anchor;
f->root = from->root;
f->mergeCounts = from->anchor->mergeCounts;
f->xjumpCount = from->xjumpCount;
/*// prepend
f->nextbranch = from->branches;

View File

@ -215,7 +215,6 @@ namespace nanojit
DWB(Fragment*) parent;
DWB(Fragment*) first;
DWB(Fragment*) peer;
DWB(BlockHist*) mergeCounts;
DWB(LirBuffer*) lirbuf;
LIns* lastIns;
SideExit* spawnedFrom;