X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fircgcons.h;h=829fd2baf633b88342cd28eac8edceb2b3f2e476;hb=e2e929ea04eb563b5fffadfd84bd61eb1f85735f;hp=2f627b1ec058ca1fd8ac031a9e9ff8535f4b6b88;hpb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;p=libfirm diff --git a/include/libfirm/ircgcons.h b/include/libfirm/ircgcons.h index 2f627b1ec..829fd2baf 100644 --- a/include/libfirm/ircgcons.h +++ b/include/libfirm/ircgcons.h @@ -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. * @@ -28,19 +28,9 @@ #ifndef FIRM_IR_IRCGCONS_H #define FIRM_IR_IRCGCONS_H -#include "firm_types.h" +#ifdef INTERPROCEDURAL_VIEW -/** The state of the interprocedural view. - * - * This value indicates the state of the interprocedural view. - */ -typedef enum { - ip_view_no, /**< The interprocedural view is not constructed. There are no - view specific nodes (EndReg, Filter, Break ...) in any graph. */ - ip_view_valid, /**< The interprocedural view is valid. */ - ip_view_invalid /**< The interprocedural view is invalid. Specific nodes are - all still in the representation, but the graph is no more complete. */ -} ip_view_state; +#include "firm_types.h" /** Return the current state of the interprocedural view. */ ip_view_state get_irp_ip_view_state(void); @@ -65,3 +55,5 @@ void cg_construct(int arr_len, ir_entity *free_methods_arr[]); void cg_destruct(void); #endif + +#endif