Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/lib/c-target/main.c
ViewVC logotype

Diff of /branches/pure-cfg/src/lib/c-target/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1171, Tue May 10 14:08:35 2011 UTC revision 1172, Tue May 10 15:57:48 2011 UTC
# Line 61  Line 61 
61                      wrld->status[i] = DIDEROT_DIE;                      wrld->status[i] = DIDEROT_DIE;
62                      nActive--;                      nActive--;
63                      break;                      break;
64                      default:
65                        break;
66                  }                  }
67              }              }
68          }          }
# Line 123  Line 125 
125      wrld->isArray = isArray;      wrld->isArray = isArray;
126      wrld->nDims = nDims;      wrld->nDims = nDims;
127      wrld->base = (int32_t *) malloc (nDims * sizeof(int32_t));      wrld->base = (int32_t *) malloc (nDims * sizeof(int32_t));
128      wrld->size = (int32_t *) malloc (nDims * sizeof(int32_t));      wrld->size = (uint32_t *) malloc (nDims * sizeof(uint32_t));
129      size_t numStrands = 1;      size_t numStrands = 1;
130      for (int i = 0;  i < wrld->nDims;  i++) {      for (int i = 0;  i < wrld->nDims;  i++) {
131          numStrands *= size[i];          numStrands *= size[i];

Legend:
Removed from v.1171  
changed lines
  Added in v.1172

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0