Indentation, braces.
[libfirm] / ir / tr / tr_inheritance.c
index 4438165..bceae17 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.
  *
@@ -621,7 +621,7 @@ void verify_irn_class_cast_state(ir_node *n, void *env) {
        ir_type             *fromtype, *totype;
        int                 ref_depth = 0;
 
-       if (get_irn_op(n) != op_Cast) return;
+       if (!is_Cast(n)) return;
 
        fromtype = get_irn_typeinfo_type(get_Cast_op(n));
        totype   = get_Cast_type(n);