X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftr_inheritance.c;h=bceae17d6e9b760f18824019cadb938cce8354a1;hb=f4e5f09589f68012dbd8007389366dd992f7a7c5;hp=4438165273eb7269297f23ba574b26a4d73f73f9;hpb=9bf7b5a5ca0ff9081f0dfa19976d54e17e1b7416;p=libfirm diff --git a/ir/tr/tr_inheritance.c b/ir/tr/tr_inheritance.c index 443816527..bceae17d6 100644 --- a/ir/tr/tr_inheritance.c +++ b/ir/tr/tr_inheritance.c @@ -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);