BugFix: get_opt_ldst_only_null_ptr_exceptions() was checked wrong
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 16 Jan 2006 02:59:25 +0000 (02:59 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 16 Jan 2006 02:59:25 +0000 (02:59 +0000)
[r7246]

ir/ir/iropt.c

index 8b3afb6..d9ec66d 100644 (file)
@@ -1243,7 +1243,7 @@ static ir_node *equivalent_node_Proj(ir_node *n)
       /* Remove dead control flow -- early gigo(). */
       n = new_Bad();
     }
-    else if (get_opt_ldst_only_null_ptr_exceptions()) {
+    else if (get_opt_ldst_only_null_ptr_exceptions()) {
       ir_op *op = get_irn_op(a);
 
       if (op == op_Load || op == op_Store) {