Extended public backend API.
[libfirm] / include / libfirm / analyze_irg_args.h
index b71bf91..7e82d17 100644 (file)
@@ -21,7 +21,6 @@
  * @file
  * @brief     read/write analyze of graph argument, which have mode reference
  * @author    Beyhan Veliev
- * @version   $Id$
  */
 #ifndef FIRM_ANA_ANALYZE_IRG_ARGS_H
 #define FIRM_ANA_ANALYZE_IRG_ARGS_H
@@ -42,7 +41,7 @@
  * If the pos'th parameter is NOT of a pointer type, ptr_access_none
  * is returned;
  */
-FIRM_API ptr_access_kind get_method_param_access(ir_entity *ent, int pos);
+FIRM_API ptr_access_kind get_method_param_access(ir_entity *ent, size_t pos);
 
 /**
  * Analyze how pointer arguments of a given
@@ -59,7 +58,7 @@ FIRM_API void analyze_irg_args(ir_graph *irg);
  *
  * The values are calculation on demand only.
  */
-FIRM_API unsigned get_method_param_weight(ir_entity *ent, int pos);
+FIRM_API unsigned get_method_param_weight(ir_entity *ent, size_t pos);
 
 /**
  * Analyze the parameters of a given ir graph.