Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.30
 
1.31
 
MAIN:ragge:20050701181741
 
optim2.c
     
 !
_>348 -        int leader = 1;
  348+//      int leader = 1;
     
 !
<>362 -
     
 !
<> 363+                if (bb == NULL || (ip->type == IP_EPILOG) ||
  364+                    (ip->type == IP_DEFLAB) || (ip->type == IP_DEFNAM)) {
  365+                        bb = tmpalloc(sizeof(struct basicblock));
  366+                        bb->first = ip;
  367+                        SLIST_INIT(&bb->children);
  368+                        SLIST_INIT(&bb->parents);
  369+                        bb->dfnum = 0;
  370+                        bb->dfparent = 0;
  371+                        bb->semi = 0;
  372+                        bb->ancestor = 0;
  373+                        bb->idom = 0;
  374+                        bb->samedom = 0;
  375+                        bb->bucket = NULL;
  376+                        bb->df = NULL;
  377+                        bb->dfchildren = NULL;
  378+                        bb->Aorig = NULL;
  379+                        bb->Aphi = NULL;
  380+                        DLIST_INSERT_BEFORE(&bblocks, bb, bbelem);
  381+                        count++;
  382+                }
  383+                bb->last = ip;
  384+                if ((ip->type == IP_NODE) && (ip->ip_node->n_op == GOTO ||
  385+                    ip->ip_node->n_op == CBRANCH))
  386+                        bb = NULL;
  387+                if (ip->type == IP_PROLOG)
  388+                        bb = NULL;
  389+        }
  390+#if 0
  391+        DLIST_FOREACH(ip, &ipole, qelem) {
     
 !
<>389 -                        if (ip->type == IP_EPILOG)
 390 -                                high = MAX(ip->ip_lbl, high);
     
 !
<> 502+#endif
     
 !
<>477 -        BDEBUG(("Basic blocks in func: %d\n", count));
 478 -        BDEBUG(("Label range in func: %d\n", high - low + 1));
  504+        if (b2debug) {
  505+                printf("Basic blocks in func: %d\n", count);
  506+                DLIST_FOREACH(bb, &bblocks, bbelem) {
  507+                        printf("bb %p: first %p last %p\n", bb,
  508+                            bb->first, bb->last);
  509+                }
  510+        }
     
 !
<>480 -
     
 !
<_ 550+printf("bb: %p\n", bb);
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-10-30 19:18 +0100