X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fircgcons.h;h=f5ec0926c449d3fa9edf4d0fdc6bc162c8cd9a26;hb=fa9c992b5f23e7a059ac91fdd04b409b951ebcc4;hp=2f627b1ec058ca1fd8ac031a9e9ff8535f4b6b88;hpb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;p=libfirm diff --git a/include/libfirm/ircgcons.h b/include/libfirm/ircgcons.h index 2f627b1ec..f5ec0926c 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,11 @@ #ifndef FIRM_IR_IRCGCONS_H #define FIRM_IR_IRCGCONS_H -#include "firm_types.h" +#include "firm_config.h" -/** 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; +#ifdef INTERPROCEDURAL_VIEW + +#include "firm_types.h" /** Return the current state of the interprocedural view. */ ip_view_state get_irp_ip_view_state(void); @@ -65,3 +57,5 @@ void cg_construct(int arr_len, ir_entity *free_methods_arr[]); void cg_destruct(void); #endif + +#endif