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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-main.in
ViewVC logotype

Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-main.in

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

revision 5141, Thu Jul 20 17:07:50 2017 UTC revision 5142, Thu Jul 20 17:41:33 2017 UTC
# Line 114  Line 114 
114                  break;                  break;
115              }              }
116              nSteps += n;              nSteps += n;
117              if ((wrld->_errors->errNum > 0) || (wrld->_strands.num_alive() == 0)) {              if (wrld->_errors->errNum > 0) {
118                    break;
119                }
120                else if (wrld->_strands.num_alive() == 0) {
121                    wrld->error("no alive strands, so no snapshot at step %d", nSteps);
122                  break;                  break;
123              }              }
124            // write a snapshot with the step count as a suffix            // write a snapshot with the step count as a suffix
# Line 171  Line 175 
175      }      }
176    
177    // output the final strand states    // output the final strand states
178        if (wrld->_strands.num_stable() > 0) {
179      write_output (wrld);      write_output (wrld);
180        }
181        else {
182            std::cerr << "Error: no stable strands at termination, so no output\n";
183            delete wrld;
184            return 1;
185        }
186    
187      delete wrld;      delete wrld;
188    

Legend:
Removed from v.5141  
changed lines
  Added in v.5142

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