OSDN Git Service

2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ipa-prop.h
index db9b916..482b6e3 100644 (file)
@@ -15,8 +15,8 @@ for more details.
 
 You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
+Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301, USA.  */
 
 #ifndef IPA_PROP_H
 #define IPA_PROP_H
@@ -29,7 +29,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 /* A jump function for a callsite represents the values passed as actual 
    arguments of the callsite. There are three main types of values :
    Formal - the caller's formal parameter is passed as an actual argument.
-   Constant - a constant is passed as a an actual argument.
+   Constant - a constant is passed as an actual argument.
    Unknown - neither of the above.
    Integer and real constants are represented as CONST_IPATYPE and Fortran 
    constants are represented as CONST_IPATYPE_REF.  */
@@ -60,7 +60,7 @@ enum cvalue_type
 };
 
 /* Represents the value of either jump function or cval.
-   value represnts a constant.
+   value represents a constant.
    formal_id is used only in jump function context and represents 
    pass-through parameter (the formal of caller is passed 
    as argument).  */
@@ -106,6 +106,9 @@ struct ipa_replace_map
    to ipa_node/ipa_edge struct.  */
 #define IPA_NODE_REF(MT) ((struct ipa_node *)(MT)->aux)
 #define IPA_EDGE_REF(EDGE) ((struct ipa_edge *)(EDGE)->aux)
+/* This macro checks validity of index returned by
+   ipa_method_tree_map function.  */
+#define IS_VALID_TREE_MAP_INDEX(I) ((I) != -1)
 
 /* ipa_node stores information related to a method and
    its formal parameters. It is pointed to by a field in the
@@ -157,7 +160,7 @@ struct ipa_methodlist
   struct ipa_methodlist *next_method;
 };
 
-/* A pointer to a methodlist elemement.  */
+/* A pointer to a methodlist element.  */
 typedef struct ipa_methodlist *ipa_methodlist_p;
 
 /* ipa_methodlist interface.  */
@@ -199,6 +202,4 @@ void ipa_nodes_free (void);
 void ipa_method_tree_print (FILE *);
 void ipa_method_modify_print (FILE *);
 
-void ipcp_driver (void);
-
 #endif /* IPA_PROP_H */