/*
- * 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.
*
/* try the called entity */
ir_node *ptr = get_Call_ptr(call);
- if (is_SymConst(ptr) && get_SymConst_kind(ptr) == symconst_addr_ent) {
+ if (is_SymConst_addr_ent(ptr)) {
ir_entity *ent = get_SymConst_entity(ptr);
prop = get_entity_additional_properties(ent);
continue;
/* for now, we can only handle Load(SymConst) */
- if (! is_SymConst(ptr) || get_SymConst_kind(ptr) != symconst_addr_ent)
+ if (! is_SymConst_addr_ent(ptr))
continue;
ent = get_SymConst_entity(ptr);
load_mode = get_Load_mode(load);