Commit 002dd7d2 authored by Matthias Braun's avatar Matthias Braun
Browse files

Always include irnode_t.h from inside libfirm (or firm_types.h)

parent adfb196f
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "irdom_t.h" #include "irdom_t.h"
#include "irgraph_t.h" #include "irgraph_t.h"
#include "irgwalk.h" #include "irgwalk.h"
#include "irnode.h" #include "irnode_t.h"
#include "pmap.h" #include "pmap.h"
#include "obst.h" #include "obst.h"
#include "xmalloc.h" #include "xmalloc.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#define FIRM_ANA_CDEP_T_H #define FIRM_ANA_CDEP_T_H
#include "cdep.h" #include "cdep.h"
#include "irnode.h" #include "irnode_t.h"
/** /**
* An entry in the control dependence list. * An entry in the control dependence list.
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
#ifndef FIRM_ANA_IRLIVECHK_H #ifndef FIRM_ANA_IRLIVECHK_H
#define FIRM_ANA_IRLIVECHK_H #define FIRM_ANA_IRLIVECHK_H
#include "irnode.h"
#include <stdbool.h> #include <stdbool.h>
#include "irnode_t.h"
typedef enum { typedef enum {
lv_chk_state_in = 1u << 0, lv_chk_state_in = 1u << 0,
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "irdump.h" #include "irdump.h"
#include "irdom.h" #include "irdom.h"
#include "ircons.h" #include "ircons.h"
#include "irnode.h" #include "irnode_t.h"
#include "ircons.h" #include "ircons.h"
#include "irtools.h" #include "irtools.h"
#include "execfreq.h" #include "execfreq.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "iredges_t.h" #include "iredges_t.h"
#include "irgwalk.h" #include "irgwalk.h"
#include "irloop_t.h" #include "irloop_t.h"
#include "irnode.h" #include "irnode_t.h"
#include "irprintf.h" #include "irprintf.h"
#include "irprog.h" #include "irprog.h"
#include "irtools.h" #include "irtools.h"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "entity_t.h" #include "entity_t.h"
#include "execfreq.h" #include "execfreq.h"
#include "iredges_t.h" #include "iredges_t.h"
#include "irnode.h" #include "irnode_t.h"
#include "irprog.h" #include "irprog.h"
#include "irtools.h" #include "irtools.h"
#include "lc_opts_enum.h" #include "lc_opts_enum.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* @date 19.02.2007 * @date 19.02.2007
*/ */
#include "set.h" #include "set.h"
#include "irnode.h" #include "irnode_t.h"
#include "util.h" #include "util.h"
#include "irloop_t.h" #include "irloop_t.h"
#include "debug.h" #include "debug.h"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "bemodule.h" #include "bemodule.h"
#include "besched.h" #include "besched.h"
#include "irgwalk.h" #include "irgwalk.h"
#include "irnode.h" #include "irnode_t.h"
#include "irnodeset.h" #include "irnodeset.h"
/** /**
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "debug.h" #include "debug.h"
#include "obst.h" #include "obst.h"
#include "irnode.h" #include "irnode_t.h"
#include "irmode.h" #include "irmode.h"
#include "irgwalk.h" #include "irgwalk.h"
#include "irloop.h" #include "irloop.h"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "bitfiddle.h" #include "bitfiddle.h"
#include "ircons.h" #include "ircons.h"
#include "irgmod.h" #include "irgmod.h"
#include "irnode.h" #include "irnode_t.h"
#include "util.h" #include "util.h"
void be_default_lower_va_arg(ir_node *node) void be_default_lower_va_arg(ir_node *node)
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "set.h" #include "set.h"
#include "array.h" #include "array.h"
#include "irnode.h" #include "irnode_t.h"
#include "irgwalk.h" #include "irgwalk.h"
#include "irprintf.h" #include "irprintf.h"
#include "irdump_t.h" #include "irdump_t.h"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#ifndef FIRM_BE_IA32_IA32_EMITTER_H #ifndef FIRM_BE_IA32_IA32_EMITTER_H
#define FIRM_BE_IA32_IA32_EMITTER_H #define FIRM_BE_IA32_IA32_EMITTER_H
#include "irnode.h" #include "firm_types.h"
/** /**
* fmt parameter output * fmt parameter output
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* @author Christian Wuerdig * @author Christian Wuerdig
*/ */
#include "debug.h" #include "debug.h"
#include "irnode.h" #include "irnode_t.h"
#include "ircons.h" #include "ircons.h"
#include "irgmod.h" #include "irgmod.h"
#include "irgwalk.h" #include "irgwalk.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* @author Matthias Braun, Christian Wuerdig * @author Matthias Braun, Christian Wuerdig
*/ */
#include "debug.h" #include "debug.h"
#include "irnode.h" #include "irnode_t.h"
#include "irprog_t.h" #include "irprog_t.h"
#include "ircons.h" #include "ircons.h"
#include "irtools.h" #include "irtools.h"
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
* @brief Generic hooks for various libFirm functions. * @brief Generic hooks for various libFirm functions.
* @author Michael Beck * @author Michael Beck
*/ */
#include <assert.h>
#include "irhooks.h" #include "irhooks.h"
#include <assert.h>
hook_entry_t *hooks[hook_last]; hook_entry_t *hooks[hook_last];
void register_hook(hook_type_t hook, hook_entry_t *entry) void register_hook(hook_type_t hook, hook_entry_t *entry)
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#ifndef FIRM_IR_IRHOOKS_H #ifndef FIRM_IR_IRHOOKS_H
#define FIRM_IR_IRHOOKS_H #define FIRM_IR_IRHOOKS_H
#include "irop.h" #include <stdio.h>
#include "irnode.h" #include "firm_types.h"
/** /**
* options for the hook_merge_nodes hook * options for the hook_merge_nodes hook
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#ifndef _FIRM_IRNODEHASHMAP_H_ #ifndef _FIRM_IRNODEHASHMAP_H_
#define _FIRM_IRNODEHASHMAP_H_ #define _FIRM_IRNODEHASHMAP_H_
#include "irnode.h" #include "firm_types.h"
typedef struct ir_nodehashmap_entry_t { typedef struct ir_nodehashmap_entry_t {
ir_node *node; ir_node *node;
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <stdint.h> #include <stdint.h>
#include "firm_types.h" #include "firm_types.h"
#include "irnode.h"
/** /**
* Instruments all irgs in the program with profile code. * Instruments all irgs in the program with profile code.
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "irgmod.h" #include "irgmod.h"
#include "irgopt.h" #include "irgopt.h"
#include "irgwalk.h" #include "irgwalk.h"
#include "irnode.h"
#include "irnode_t.h" #include "irnode_t.h"
#include "iredges_t.h" #include "iredges_t.h"
#include "irtools.h" #include "irtools.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "irgopt.h" #include "irgopt.h"
#include "irgwalk.h" #include "irgwalk.h"
#include "irloop_t.h" #include "irloop_t.h"
#include "irnode.h" #include "irnode_t.h"
#include "irnodemap.h" #include "irnodemap.h"
#include "iroptimize.h" #include "iroptimize.h"
#include "irouts.h" #include "irouts.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment