summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-07 20:03:13 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-07 20:03:13 +0000
commit983e6b0a73572aaf2575491e337db9e7c742f3e8 (patch)
tree219f2ede749b30e6b6cbd8a1e242608e2d2e6314
parent9ee71fca387bf3aa9d58b7bab2aad3733cde3834 (diff)
downloadgcc-983e6b0a73572aaf2575491e337db9e7c742f3e8.tar.gz
Move enum unwind_info_type from target.h to coretypes.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165131 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/coretypes.h10
-rw-r--r--gcc/target.h10
3 files changed, 15 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17610366b28..744c579080a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-07 Richard Henderson <rth@redhat.com>
+
+ * target.h (enum unwind_info_type): Move ...
+ * coretypes.h: ... here.
+
2010-10-07 Nicola Pero <nicola.pero@meta-innovation.com>
* doc/objc.texi (Fast enumeration protocol): Mention that
diff --git a/gcc/coretypes.h b/gcc/coretypes.h
index 419142a733f..3c6368419e4 100644
--- a/gcc/coretypes.h
+++ b/gcc/coretypes.h
@@ -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;
diff --git a/gcc/target.h b/gcc/target.h
index f160e979415..99dd1eea998 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -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;