X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firopt.h;h=e008edec7d7f4ff2d6444da1013dd6a365d030ea;hb=fa9c992b5f23e7a059ac91fdd04b409b951ebcc4;hp=cb2fb16144b889b01f90f2310bb0136e33c7c1e5;hpb=737e5ba7fa2ce36fd096b36e9e73b5053eec1114;p=libfirm diff --git a/include/libfirm/iropt.h b/include/libfirm/iropt.h index cb2fb1614..e008edec7 100644 --- a/include/libfirm/iropt.h +++ b/include/libfirm/iropt.h @@ -78,7 +78,7 @@ typedef enum _fp_model_t { /** If the expression referenced can be evaluated statically * computed_value returns a tarval representing the result. * Else returns tarval_bad. */ -tarval *computed_value(ir_node *n); +tarval *computed_value(const ir_node *n); /** Applies all optimizations to n that are expressible as a pattern * in Firm, i.e., they need not a walk of the graph.