X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firopt.h;h=e008edec7d7f4ff2d6444da1013dd6a365d030ea;hb=fa9c992b5f23e7a059ac91fdd04b409b951ebcc4;hp=62889a92bd8efe5ff2c6e9c5e5717a0eb5ec611d;hpb=095bd4f24cdb5c1e350d9e2929619f54c7fa78d8;p=libfirm diff --git a/include/libfirm/iropt.h b/include/libfirm/iropt.h index 62889a92b..e008edec7 100644 --- a/include/libfirm/iropt.h +++ b/include/libfirm/iropt.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -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.