Comments
Patch
@@ -111,6 +111,16 @@ enum tls_model {
TLS_MODEL_LOCAL_EXEC
};
+/* Types of unwind/exception handling info that can be generated. */
+
+enum unwind_info_type
+{
+ UI_NONE,
+ UI_SJLJ,
+ UI_DWARF2,
+ UI_TARGET
+};
+
struct edge_def;
typedef struct edge_def *edge;
typedef const struct edge_def *const_edge;
@@ -128,16 +128,6 @@ enum vect_cost_for_stmt
vec_perm
};
-/* Types of unwind/exception handling info that can be generated. */
-
-enum unwind_info_type
-{
- UI_NONE,
- UI_SJLJ,
- UI_DWARF2,
- UI_TARGET
-};
-
/* The target structure. This holds all the backend hooks. */
#define DEFHOOKPOD(NAME, DOC, TYPE, INIT) TYPE NAME;
#define DEFHOOK(NAME, DOC, TYPE, PARAMS, INIT) TYPE (* NAME) PARAMS;
Not all files that include "tm_p.h" also include "target.h". Moving this enum allows prototypes involving it to be shared between i386.c and winnt.c via i386-protos.h. Sanity bootstrapped on x86_64-linux. r~ * target.h (enum unwind_info_type): Move ... * coretypes.h: ... here.