From: Sebastian Hack Date: Tue, 29 Aug 2006 08:14:58 +0000 (+0000) Subject: Re-checked it in. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c4210affe324ffb34c5119bd012420f209843f44;hp=5c75da2b6755efa6126b84cc4db7363cf0325e6c;p=libfirm Re-checked it in. [r8138] --- diff --git a/ir/ir/Makefile.in b/ir/ir/Makefile.in index 890a0d67d..2b729d6ba 100644 --- a/ir/ir/Makefile.in +++ b/ir/ir/Makefile.in @@ -20,7 +20,7 @@ enable_libcore := @enable_libcore@ INSTALL_HEADERS = irprog.h irgraph.h irnode.h irmode.h irop.h ircons.h \ irflag.h irvrfy.h irgwalk.h irgmod.h iropt.h irdump.h \ irgopt.h ircgcons.h ircgopt.h irreflect.h irarch.h irprintf.h irphase.h \ - pseudo_irg.h irhooks.h iredges.h + pseudo_irg.h irhooks.h iredges.h iredgekinds.h SOURCES = $(INSTALL_HEADERS) diff --git a/ir/ir/iredgekinds.h b/ir/ir/iredgekinds.h new file mode 100644 index 000000000..7b46a2da2 --- /dev/null +++ b/ir/ir/iredgekinds.h @@ -0,0 +1,28 @@ +/** + * @file iredgekinds.h + * @date 29.08.2006 + * @author Sebastian Hack + * + * Copyright (C) 2006 Universitaet Karlsruhe + * Released under the GPL + */ + +#ifndef _IREDGEKINDS_H +#define _IREDGEKINDS_H + +enum _ir_edge_kind_t { + EDGE_KIND_NORMAL, + EDGE_KIND_BLOCK, + EDGE_KIND_DEP, + EDGE_KIND_LAST +}; + +typedef enum _ir_edge_kind_t ir_edge_kind_t; + +/* + * It's ugly but we need this forward ref. + */ + +void edges_notify_edge_kind(ir_node *src, int pos, ir_node *tgt, ir_node *old_tgt, ir_edge_kind_t kind, ir_graph *irg); + +#endif /* _IREDGEKINDS_H */