Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.250
 
1.251
 
MAIN:gmcgarry:20090813080125
 
reader.c
_>122122         if (p->n_op == CBRANCH) {
 123123                  if (!logop(p->n_left->n_op))
 124124                         cerror("%p) not logop branch", p);
<>125 -                i = p->n_right->n_lval;
  125+                i = (int)p->n_right->n_lval;
126126                 if (i < p2env.ipp->ip_lblnum || i >= p2env.epp->ip_lblnum)
 127127                         cerror("%p) label %d outside boundaries %d-%d",
 128128                             p, i, p2env.ipp->ip_lblnum, p2env.epp->ip_lblnum);
     
 !
135135                 cerror("%p) temporary %d outside boundaries %d-%d",
 136136                     p, regno(p), p2env.ipp->ip_tmpnum, p2env.epp->ip_tmpnum);
 137137         if (p->n_op == GOTO && p->n_left->n_op == ICON) {
<>138 -                i = p->n_left->n_lval;
  138+                i = (int)p->n_left->n_lval;
139139                 if (i < p2env.ipp->ip_lblnum || i >= p2env.epp->ip_lblnum)
 140140                         cerror("%p) label %d outside boundaries %d-%d",
 141141                             p, i, p2env.ipp->ip_lblnum, p2env.epp->ip_lblnum);
     
 !
217217                     p->n_left->n_op == PLUS &&
 218218                     p->n_left->n_left->n_op == REG &&
 219219                     p->n_left->n_right->n_op == ICON)
<>220 -                        *soff = p->n_left->n_right->n_lval;
  220+                        *soff = (int)p->n_left->n_right->n_lval;
221221                 else if (p->n_op == OREG)
<>222 -                        *soff = p->n_lval;
  222+                        *soff = (int)p->n_lval;
223223                 else
 224224                         comperr("stkarg: bad arg");
 225225                 tfree(ip->ip_node);
     
 !
644644         case CBRANCH:
 645645                 p1 = p->n_left;
 646646                 p2 = p->n_right;
<>647 -                p1->n_label = p2->n_lval;
  647+                p1->n_label = (int)p2->n_lval;
<_648648                 (void)geninsn(p1, FORCC);
 649649                 p->n_su = 0;
 650650                 break;
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-21 12:23 +0100