Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.8
 
1.9
 
MAIN:pj:20050206114953
 
optim2.c
_>6363 void cfg_dfs(struct basicblock *bb, unsigned int parent,
 6464              struct bblockinfo *bbinfo);
 6565 void dominators(struct bblockinfo *bbinfo);
<> 66+struct basicblock *
  67+ancestorwithlowestsemi(struct basicblock *bblock, struct bblockinfo *bbinfo);
  68+void link(struct basicblock *parent, struct basicblock *child);
  69+void computeDF(struct basicblock *bblock, struct bblockinfo *bbinfo);
6670 
 6771 
 6872 static CIRCLEQ_HEAD(, basicblock) bblocks = CIRCLEQ_HEAD_INITIALIZER(bblocks);
     
 !
280284                 if (bblocks_build(&labinfo, &bbinfo)) {
 281285                         cfg_build(&labinfo);
 282286                         dominators(&bbinfo);
<> 287+                        computeDF(CIRCLEQ_FIRST(&bblocks), &bbinfo);
283288 #if 0
 284289                         if (xssaflag) {
 285290                                 dfg = dfg_build(cfg);
     
 !
613618         }
 614619 }
 615620 
<>616 -struct basicblock *
 617 -ancestorwithlowestsemi(struct basicblock *bblock, struct bblockinfo *bbinfo);
 618 -void link(struct basicblock *parent, struct basicblock *child);
 619 -void
 620 -computeDF(struct basicblock *bblock, struct bblockinfo *bbinfo);
 621 -
622621 /*
 623622  * Algorithm 19.9, pp 414 from Appel.
 624623  */
     
 !
633632 
 634633         CIRCLEQ_FOREACH(bb, &bblocks, bbelem) {
 635634                 bb->bucket = tmpalloc((bbinfo->size + 7)/8);
<> 635+                memset(bb->bucket, 0, (bbinfo->size + 7)/8);
636636         }
 637637 
 638638         dfsnum = 0;
     
 !
705705         if (bblock->df)
 706706                 comperr("Har redan DF, hm");
 707707         
<>708 -        if (!bblock->df)
  708+        if (!bblock->df) {
709709                 bblock->df = tmpalloc((bbinfo->size + 7)/8);
<> 710+                memset(bblock->df, 0, (bbinfo->size + 7)/8);
  711+        }
<_710712 
 711713 
 712714         SIMPLEQ_FOREACH(cnode, &bblock->children, cfgelem) {
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-08-27 23:02 +0200