Remove redundant test.
[libfirm] / include / libfirm / iropt.h
index 62889a9..e008ede 100644 (file)
@@ -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.