X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fpset_new.c;h=fabcf9b61e03c0b4465f5d0ac9e2eddc977bc98e;hb=81d4cf5aeab4d0c0bc2a5e7c461d58ee7a7522d6;hp=33bc19d0eaa99de8efe9a1c0bf741f4f1c57e6dd;hpb=ccc66742bda5ffb14c4f8a598cd90cc40ba6d8b5;p=libfirm diff --git a/ir/adt/pset_new.c b/ir/adt/pset_new.c index 33bc19d0e..fabcf9b61 100644 --- a/ir/adt/pset_new.c +++ b/ir/adt/pset_new.c @@ -1,3 +1,28 @@ +/* + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @file + * @brief implementation of pset_new + * @author Matthias Braun + * @version $Id$ + */ #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -29,5 +54,5 @@ int pset_new_contains(const pset_new_t *pset_new, const ValueType val) { - return pset_new_find(pset_new, val) != NullValue; + return pset_new_find(pset_new, val); }