Polaris: Data.h File Reference

Data.h File Reference

Go to the source code of this file.

Functions

void mark_initialized (CommaExpr &expr)
 Takes as input an expression, which is assumed to be a "CommaExpr" of variables that will be initialized in the DATA statement.


Function Documentation

void mark_initialized CommaExpr expr  ) 
 

Takes as input an expression, which is assumed to be a "CommaExpr" of variables that will be initialized in the DATA statement.

The expressions on the comma-list can be either IDExpr's, ArrayRefExpr's, or DoExpr's - no other expressions may appear in a DATA statement. This routine marks all the symbols it finds as "initialized" because they appear in the DATA statement.

Definition at line 149 of file Data.cc.

References ARRAY_REF_OP, DO_OP, ID_OP, Symbol::initial_value(), IS_INITIALIZED, mark_initialized(), Expression::op(), and Expression::symbol().

Referenced by Data::Data(), and mark_initialized().

 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:06:19 2005