X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firopt.h;h=e008edec7d7f4ff2d6444da1013dd6a365d030ea;hb=fa9c992b5f23e7a059ac91fdd04b409b951ebcc4;hp=ad7a01b0f944db301aa71460c6981f620eed47ec;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/include/libfirm/iropt.h b/include/libfirm/iropt.h index ad7a01b0f..e008edec7 100644 --- a/include/libfirm/iropt.h +++ b/include/libfirm/iropt.h @@ -72,13 +72,13 @@ typedef enum _fp_model_t { fp_model_strict = fp_explicit_rounding|fp_strict_algebraic|fp_strict_eval_order| fp_exceptions|fp_environment_access, /** Fast floating point model. */ - fp_model_fast = fp_contradictions, + fp_model_fast = fp_contradictions } 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.