CfgNode* get_parent_node(Operation operation) { if (operation.is_phi_handle()) return get_parent_node(*operation.get_phi_handle()); else return get_parent_node(*operation.get_instr_handle()); }
CL_DomElement CL_DomAttr::get_owner_element() const { if (impl) return get_parent_node().to_element(); return CL_DomElement(); }