Jz sparse

This hv_updateUseReachingDef should be expired.

@jhbelka

@sriram87

@bronevet




On Fri, Jun 27, 2014 at 11:13 AM, jhbeika <notifications@github.com> wrote:

> In projects/fuse/src/sparse/heapSSA.C:
>
> > +
> > +HeapReachingDefPtr HeapSSA::hv_getDPhi(SgNode* sgn) {
> > +  return hv_dphiTable[sgn];
> > +}
> > +
> > +bool HeapSSA::hv_hasHeapUse(SgNode* sgn) {
> > +  return hv_localUses.find(sgn) != hv_localUses.end();
> > +}
> > +
> > +// Set given node's all use SgNode with the input reaching def which is a dphi
> > +bool HeapSSA::hv_updateUseReachingDef(SgNode* sgn, ReachingDef::ReachingDefPtr reachingDef) {
> > +  ROSE_ASSERT(hv_localUses.find(sgn) != hv_localUses.end());
> > +  foreach (SgNode* useNode, hv_localUses[sgn]) {
> > +    hv_reachingDefTable[useNode] = reachingDef;
> > +  }
> > +}
>
> @jz10 <https://github.com/jz10>
> // ??? What is the correct return value for this function?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/sriram87/edg4x-rose/pull/5/files#r14300906>.
>